Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|X|XInv|p_w|dX",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008402/0.008402, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.988/2.988, allocations: 470.6 MB / 0.7442 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003673, allocations: 11.67 kB / 0.9123 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3254, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001328/0.3268, allocations: 0.9899 MB / 1.071 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005742/0.3274, allocations: 301 kB / 1.071 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.198e-05/0.3274, allocations: 0 / 1.071 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.3274, allocations: 0 / 1.071 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.3275, allocations: 7.922 kB / 1.071 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.3277, allocations: 43.81 kB / 1.071 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.18e-05/0.3277, allocations: 15.88 kB / 1.071 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.3278, allocations: 0 / 1.071 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.332e-05/0.3278, allocations: 11.94 kB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.3279, allocations: 11.98 kB / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.3279, allocations: 0 / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.328, allocations: 55.95 kB / 1.071 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.328, allocations: 7.922 kB / 1.071 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.3281, allocations: 29.7 kB / 1.071 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.3282, allocations: 52.11 kB / 1.071 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3282, allocations: 4 kB / 1.071 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3282, allocations: 0 / 1.071 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.3282, allocations: 0 / 1.071 GB, free: 9.883 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00036/0.3286, allocations: 327.6 kB / 1.072 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3286, allocations: 11.97 kB / 1.072 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.3289, allocations: 16.92 kB / 1.072 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.329, allocations: 164.3 kB / 1.072 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.329, allocations: 8.375 kB / 1.072 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.329, allocations: 384 / 1.072 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.3291, allocations: 46.23 kB / 1.072 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3292, allocations: 4.188 kB / 1.072 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3292, allocations: 3.938 kB / 1.072 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3292, allocations: 0 / 1.072 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.3292, allocations: 15.94 kB / 1.072 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.3294, allocations: 161.6 kB / 1.072 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.3313, allocations: 278.4 kB / 1.072 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.3314, allocations: 20.84 kB / 1.072 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.3314, allocations: 0 / 1.072 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3314, allocations: 38.56 kB / 1.072 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3314, allocations: 0 / 1.072 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001622/0.3316, allocations: 73.47 kB / 1.072 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.3316, allocations: 55.34 kB / 1.073 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/0.3317, allocations: 93.86 kB / 1.073 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3317, allocations: 25.7 kB / 1.073 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.3318, allocations: 80.14 kB / 1.073 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.3318, allocations: 11.89 kB / 1.073 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.3318, allocations: 9.719 kB / 1.073 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.332, allocations: 315 kB / 1.073 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.332, allocations: 8 kB / 1.073 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.332, allocations: 15.98 kB / 1.073 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.3321, allocations: 28.8 kB / 1.073 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3321, allocations: 0 / 1.073 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.402e-05/0.3322, allocations: 49.69 kB / 1.073 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3322, allocations: 9.562 kB / 1.073 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3322, allocations: 3.938 kB / 1.073 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3322, allocations: 0 / 1.073 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.469e-05/0.3323, allocations: 4 kB / 1.073 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3323, allocations: 0 / 1.073 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.523e-05/0.3323, allocations: 19.91 kB / 1.073 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.3323, allocations: 0 / 1.073 GB, free: 7.797 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.319e-05/0.3324, allocations: 105.8 kB / 1.073 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.3324, allocations: 4 kB / 1.073 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.3325, allocations: 15.42 kB / 1.073 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3325, allocations: 0 / 1.073 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3325, allocations: 0 / 1.073 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3325, allocations: 3.938 kB / 1.073 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.3326, allocations: 153.7 kB / 1.073 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3326, allocations: 4 kB / 1.073 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.3327, allocations: 8 kB / 1.073 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3327, allocations: 0 / 1.073 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3327, allocations: 3.938 kB / 1.073 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3327, allocations: 0 / 1.073 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3327, allocations: 0 / 1.073 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.3328, allocations: 81.45 kB / 1.074 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.3329, allocations: 85.03 kB / 1.074 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3329, allocations: 11.92 kB / 1.074 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.333, allocations: 7.922 kB / 1.074 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.333, allocations: 4 kB / 1.074 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.333, allocations: 4 kB / 1.074 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.237e-05/0.3331, allocations: 75.28 kB / 1.074 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3331, allocations: 3.938 kB / 1.074 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001822/0.3332, allocations: 8 kB / 1.074 GB, free: 7.133 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001105/0.3334, allocations: 103.3 kB / 1.074 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.999e-05/0.3335, allocations: 24 kB / 1.074 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3335, allocations: 0 / 1.074 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.493e-05/0.3335, allocations: 15.98 kB / 1.074 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.3337, allocations: 5.203 kB / 1.074 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.334, allocations: 148.5 kB / 1.074 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3343, allocations: 0.677 MB / 1.075 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.412e-05/0.3344, allocations: 0 / 1.075 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.3344, allocations: 11.44 kB / 1.075 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3344, allocations: 4 kB / 1.075 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of Templates: time 0.002766/0.3372, allocations: 490.1 kB / 1.075 GB, free: 5.609 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches