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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001144/0.001145, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.00962/0.00962, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 8 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7858/0.7862, allocations: 153.8 MB / 1.023 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002241/0.7885, allocations: 1.624 MB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.172/0.9605, allocations: 151.5 MB / 1.173 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.9608, allocations: 0 / 1.173 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.961, allocations: 23.78 kB / 1.173 GB, free: 6.328 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.9613, allocations: 63.61 kB / 1.173 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007831/0.9621, allocations: 227.4 kB / 1.173 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000397/0.9625, allocations: 259 kB / 1.173 GB, free: 5.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.9627, allocations: 64.52 kB / 1.173 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.9648, allocations: 226.2 kB / 1.173 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.9651, allocations: 79.61 kB / 1.173 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.9651, allocations: 4 kB / 1.173 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.9655, allocations: 179.7 kB / 1.174 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.9656, allocations: 35.83 kB / 1.174 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.9657, allocations: 105.2 kB / 1.174 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.9662, allocations: 263.2 kB / 1.174 GB, free: 4.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.9662, allocations: 0 / 1.174 GB, free: 4.863 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9662, allocations: 0 / 1.174 GB, free: 4.863 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.9662, allocations: 0 / 1.174 GB, free: 4.863 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.001001/0.9672, allocations: 0.5027 MB / 1.174 GB, free: 4.312 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.9673, allocations: 8.031 kB / 1.174 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009147/0.9682, allocations: 95.66 kB / 1.175 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.9685, allocations: 221.4 kB / 1.175 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.215e-05/0.9686, allocations: 45.97 kB / 1.175 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.9687, allocations: 19.98 kB / 1.175 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005492/0.9692, allocations: 258.6 kB / 1.175 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.9692, allocations: 4 kB / 1.175 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.9693, allocations: 7.984 kB / 1.175 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.9693, allocations: 8 kB / 1.175 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/0.9698, allocations: 180.3 kB / 1.175 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.9716, allocations: 1.184 MB / 1.176 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007511/0.9723, allocations: 210.6 kB / 1.177 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.9725, allocations: 80.81 kB / 1.177 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.9726, allocations: 7.984 kB / 1.177 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.9726, allocations: 30.56 kB / 1.177 GB, free: 1.805 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.884e-06/0.9726, allocations: 3.938 kB / 1.177 GB, free: 1.801 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.002791/0.9754, allocations: 0.6415 MB / 1.177 GB, free: 1.109 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.9755, allocations: 55.41 kB / 1.177 GB, free: 1.043 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.9757, allocations: 222.8 kB / 1.178 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.9758, allocations: 33.7 kB / 1.178 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.9759, allocations: 143.9 kB / 1.178 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.9759, allocations: 35.45 kB / 1.178 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.976, allocations: 21.72 kB / 1.178 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9761, allocations: 326.8 kB / 1.178 GB, free: 248 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.9764, allocations: 79.94 kB / 1.178 GB, free: 168 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.9766, allocations: 131.7 kB / 1.178 GB, free: 8 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/0.9771, allocations: 218.6 kB / 1.179 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.9771, allocations: 0 / 1.179 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001487/0.9786, allocations: 386.7 kB / 1.179 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.9787, allocations: 9.625 kB / 1.179 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9787, allocations: 0 / 1.179 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.9798, allocations: 161.5 kB / 1.179 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.98, allocations: 47.91 kB / 1.179 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/0.9843, allocations: 3.038 MB / 1.182 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.9847, allocations: 39.88 kB / 1.182 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.9847, allocations: 8 kB / 1.182 GB, free: 11.79 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.0001696/0.9849, allocations: 133.8 kB / 1.182 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.985, allocations: 15.81 kB / 1.182 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.9864, allocations: 392.1 kB / 1.183 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.9864, allocations: 0 / 1.183 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.9864, allocations: 3.938 kB / 1.183 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9864, allocations: 3.984 kB / 1.183 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.9868, allocations: 269.5 kB / 1.183 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.9868, allocations: 0 / 1.183 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.9869, allocations: 23.98 kB / 1.183 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.9879, allocations: 169.7 kB / 1.183 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.988, allocations: 4 kB / 1.183 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.9916, allocations: 3.088 MB / 1.186 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9916, allocations: 0 / 1.186 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.9929, allocations: 442.9 kB / 1.187 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.9931, allocations: 124.7 kB / 1.187 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.9931, allocations: 8 kB / 1.187 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.9934, allocations: 11.98 kB / 1.187 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.9935, allocations: 15.98 kB / 1.187 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.9936, allocations: 7.984 kB / 1.187 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002037/0.9938, allocations: 171 kB / 1.187 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9938, allocations: 4 kB / 1.187 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004375/0.9942, allocations: 71.94 kB / 1.187 GB, free: 6.484 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.0002294/0.9945, allocations: 115.2 kB / 1.187 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.9956, allocations: 449.5 kB / 1.188 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9956, allocations: 0 / 1.188 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007005/0.9963, allocations: 369.2 kB / 1.188 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/0.9969, allocations: 54.84 kB / 1.188 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.998, allocations: 491.6 kB / 1.188 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.9984, allocations: 0.7324 MB / 1.189 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000219/0.9986, allocations: 37.92 kB / 1.189 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.9987, allocations: 27.36 kB / 1.189 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.9987, allocations: 0 / 1.189 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of Templates: time 0.01068/1.009, allocations: 4.931 MB / 1.194 GB, free: 15.25 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/jenkins/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