Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007793/0.0007791, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 187 kB / 16.92 MB, free: 6.75 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003834, allocations: 12 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7875/0.7879, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002576/0.7905, allocations: 1.62 MB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1816/0.9722, allocations: 151.5 MB / 1.173 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.9725, allocations: 0 / 1.173 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.9727, allocations: 19.8 kB / 1.173 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.9731, allocations: 67.55 kB / 1.173 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000808/0.9739, allocations: 231.3 kB / 1.173 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.9743, allocations: 255.1 kB / 1.174 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.9745, allocations: 64.38 kB / 1.174 GB, free: 5.52 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.9766, allocations: 222.3 kB / 1.174 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.9768, allocations: 87.61 kB / 1.174 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.9769, allocations: 4 kB / 1.174 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000427/0.9773, allocations: 171.7 kB / 1.174 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.548e-05/0.9774, allocations: 35.83 kB / 1.174 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.9775, allocations: 101.3 kB / 1.174 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.978, allocations: 199.5 kB / 1.175 GB, free: 4.727 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.978, allocations: 0 / 1.175 GB, free: 4.727 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.234e-06/0.978, allocations: 0 / 1.175 GB, free: 4.727 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.978, allocations: 0 / 1.175 GB, free: 4.727 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009482/0.9789, allocations: 0.495 MB / 1.175 GB, free: 4.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.979, allocations: 16.03 kB / 1.175 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008947/0.9799, allocations: 79.67 kB / 1.175 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.9802, allocations: 239.1 kB / 1.175 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-05/0.9803, allocations: 34.03 kB / 1.175 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.9804, allocations: 20 kB / 1.175 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006875/0.9811, allocations: 266.6 kB / 1.176 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9811, allocations: 0 / 1.176 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.9811, allocations: 12 kB / 1.176 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.9811, allocations: 4 kB / 1.176 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.9816, allocations: 176.3 kB / 1.176 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.9836, allocations: 1.188 MB / 1.177 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007833/0.9844, allocations: 218.6 kB / 1.177 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.9846, allocations: 72.83 kB / 1.177 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.9846, allocations: 0 / 1.177 GB, free: 1.719 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.9846, allocations: 38.55 kB / 1.177 GB, free: 1.672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.9847, allocations: 4 kB / 1.177 GB, free: 1.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.002845/0.9875, allocations: 0.6453 MB / 1.178 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.9876, allocations: 59.34 kB / 1.178 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.9878, allocations: 218.9 kB / 1.178 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.9879, allocations: 25.7 kB / 1.178 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.988, allocations: 140 kB / 1.178 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.988, allocations: 39.44 kB / 1.178 GB, free: 480 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.9881, allocations: 25.7 kB / 1.178 GB, free: 448 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9882, allocations: 326.8 kB / 1.179 GB, free: 112 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.9885, allocations: 83.94 kB / 1.179 GB, free: 28 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.9888, allocations: 135.1 kB / 1.179 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.9892, allocations: 214.6 kB / 1.179 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.9893, allocations: 0 / 1.179 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001647/0.9909, allocations: 398.6 kB / 1.18 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.9909, allocations: 4 kB / 1.18 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.9909, allocations: 4 kB / 1.18 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.9921, allocations: 157.8 kB / 1.18 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.9924, allocations: 47.89 kB / 1.18 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/0.9969, allocations: 3.033 MB / 1.183 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.9973, allocations: 35.77 kB / 1.183 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.9973, allocations: 11.98 kB / 1.183 GB, free: 11.66 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.9975, allocations: 125.8 kB / 1.183 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.9975, allocations: 15.81 kB / 1.183 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.999, allocations: 397.8 kB / 1.183 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.999, allocations: 0 / 1.183 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.999, allocations: 7.938 kB / 1.183 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.999, allocations: 0 / 1.183 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.9994, allocations: 273.4 kB / 1.184 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.9994, allocations: 0 / 1.184 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.9996, allocations: 31.98 kB / 1.184 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/1.001, allocations: 161.5 kB / 1.184 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/1.001, allocations: 0 / 1.184 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004017/1.005, allocations: 3.084 MB / 1.187 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.005, allocations: 0 / 1.187 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/1.006, allocations: 449.3 kB / 1.187 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/1.006, allocations: 120.7 kB / 1.187 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/1.006, allocations: 0 / 1.187 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/1.007, allocations: 24.28 kB / 1.187 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/1.007, allocations: 15.98 kB / 1.187 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/1.007, allocations: 15.92 kB / 1.187 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002097/1.007, allocations: 159.2 kB / 1.188 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.007, allocations: 0 / 1.188 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004546/1.007, allocations: 75.92 kB / 1.188 GB, free: 6.355 MB / 0.9356 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002556/1.008, allocations: 119.2 kB / 1.188 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001191/1.009, allocations: 457.5 kB / 1.188 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.009, allocations: 0 / 1.188 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007562/1.01, allocations: 362.6 kB / 1.188 GB, free: 5.379 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/1.01, allocations: 56.03 kB / 1.189 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/1.011, allocations: 0.513 MB / 1.189 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/1.012, allocations: 0.7323 MB / 1.19 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/1.012, allocations: 27.42 kB / 1.19 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/1.012, allocations: 4 kB / 1.19 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of Templates: time 0.007986/1.02, allocations: 4.382 MB / 1.194 GB, free: 15.62 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches