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.0009839/0.0009838, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001265/0.001266, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.3 MB / 240 MB, free: 5.395 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.953/2.953, allocations: 437.7 MB / 0.7117 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.000532, allocations: 16 kB / 0.8722 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7867/0.7872, allocations: 153.8 MB / 1.022 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00328/0.7906, allocations: 1.581 MB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1896/0.9802, allocations: 141.2 MB / 1.162 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.9804, allocations: 0 / 1.162 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.9806, allocations: 23.8 kB / 1.162 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.981, allocations: 63.5 kB / 1.162 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007671/0.9817, allocations: 235.2 kB / 1.162 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.982, allocations: 231.2 kB / 1.162 GB, free: 356 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.9822, allocations: 54.27 kB / 1.162 GB, free: 296 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.9827, allocations: 187.5 kB / 1.163 GB, free: 108 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.9828, allocations: 71.62 kB / 1.163 GB, free: 36 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.9829, allocations: 4 kB / 1.163 GB, free: 32 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.9832, allocations: 175.7 kB / 1.163 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.9833, allocations: 31.89 kB / 1.163 GB, free: 15.83 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.9834, allocations: 57.58 kB / 1.163 GB, free: 15.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.9837, allocations: 193.5 kB / 1.163 GB, free: 15.58 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9837, allocations: 0 / 1.163 GB, free: 15.58 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9837, allocations: 4 kB / 1.163 GB, free: 15.57 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.9837, allocations: 3.938 kB / 1.163 GB, free: 15.57 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.0008648/0.9846, allocations: 0.5005 MB / 1.164 GB, free: 15.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.9846, allocations: 11.97 kB / 1.164 GB, free: 15.01 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007894/0.9854, allocations: 91.69 kB / 1.164 GB, free: 14.92 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.9857, allocations: 219.5 kB / 1.164 GB, free: 14.67 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.9858, allocations: 38.03 kB / 1.164 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.9858, allocations: 20 kB / 1.164 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.9863, allocations: 266.6 kB / 1.164 GB, free: 14.32 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.9863, allocations: 0 / 1.164 GB, free: 14.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.9864, allocations: 8 kB / 1.164 GB, free: 14.31 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.9864, allocations: 4 kB / 1.164 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.9868, allocations: 187.7 kB / 1.164 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.9885, allocations: 1.192 MB / 1.166 GB, free: 12.85 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007041/0.9892, allocations: 210.7 kB / 1.166 GB, free: 12.64 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.9894, allocations: 76.81 kB / 1.166 GB, free: 12.56 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.9894, allocations: 4 kB / 1.166 GB, free: 12.55 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.9895, allocations: 38.5 kB / 1.166 GB, free: 12.51 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.9895, allocations: 0 / 1.166 GB, free: 12.51 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.002371/0.9918, allocations: 0.653 MB / 1.167 GB, free: 11.8 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.9919, allocations: 51.41 kB / 1.167 GB, free: 11.74 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.9922, allocations: 211 kB / 1.167 GB, free: 11.53 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.9922, allocations: 33.7 kB / 1.167 GB, free: 11.49 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/0.9923, allocations: 140 kB / 1.167 GB, free: 11.35 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.9924, allocations: 35.45 kB / 1.167 GB, free: 11.31 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.9924, allocations: 8 kB / 1.167 GB, free: 11.3 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9926, allocations: 326.8 kB / 1.167 GB, free: 10.98 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.9928, allocations: 71.94 kB / 1.167 GB, free: 10.91 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.993, allocations: 136.2 kB / 1.168 GB, free: 10.75 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.9933, allocations: 91.92 kB / 1.168 GB, free: 10.66 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9933, allocations: 0 / 1.168 GB, free: 10.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001278/0.9946, allocations: 390.7 kB / 1.168 GB, free: 10.26 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.9946, allocations: 5.719 kB / 1.168 GB, free: 10.26 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.9946, allocations: 8.219 kB / 1.168 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009608/0.9956, allocations: 157.5 kB / 1.168 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.9958, allocations: 47.91 kB / 1.168 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.9996, allocations: 3.027 MB / 1.171 GB, free: 6.734 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.9999, allocations: 43.81 kB / 1.171 GB, free: 6.691 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/1, allocations: 8 kB / 1.171 GB, free: 6.684 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001856/1, allocations: 129.7 kB / 1.171 GB, free: 6.547 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/1, allocations: 23.8 kB / 1.171 GB, free: 6.523 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/1.001, allocations: 384.4 kB / 1.172 GB, free: 6.141 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.001, allocations: 4 kB / 1.172 GB, free: 6.137 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/1.001, allocations: 4 kB / 1.172 GB, free: 6.133 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.001, allocations: 0 / 1.172 GB, free: 6.133 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/1.002, allocations: 285.2 kB / 1.172 GB, free: 5.805 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.002, allocations: 0 / 1.172 GB, free: 5.805 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/1.002, allocations: 23.98 kB / 1.172 GB, free: 5.781 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008105/1.003, allocations: 161.5 kB / 1.172 GB, free: 5.617 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/1.003, allocations: 4 kB / 1.172 GB, free: 5.613 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/1.006, allocations: 3.076 MB / 1.175 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.006, allocations: 0 / 1.175 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/1.007, allocations: 446.5 kB / 1.176 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/1.008, allocations: 108.8 kB / 1.176 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/1.008, allocations: 15.98 kB / 1.176 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/1.008, allocations: 19.89 kB / 1.176 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/1.008, allocations: 11.98 kB / 1.176 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/1.008, allocations: 15.92 kB / 1.176 GB, free: 1.617 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001961/1.008, allocations: 159.2 kB / 1.176 GB, free: 1.461 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.3e-07/1.008, allocations: 0 / 1.176 GB, free: 1.461 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004401/1.009, allocations: 71.94 kB / 1.176 GB, free: 1.391 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002161/1.009, allocations: 115.2 kB / 1.176 GB, free: 1.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009474/1.01, allocations: 449.5 kB / 1.177 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.01, allocations: 0 / 1.177 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005886/1.01, allocations: 362.9 kB / 1.177 GB, free: 436 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/1.011, allocations: 51.91 kB / 1.177 GB, free: 384 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009718/1.012, allocations: 0.5099 MB / 1.177 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/1.012, allocations: 0.7363 MB / 1.178 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001998/1.012, allocations: 33.98 kB / 1.178 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/1.013, allocations: 23.42 kB / 1.178 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/1.013, allocations: 0 / 1.178 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of Templates: time 0.009137/1.022, allocations: 4.794 MB / 1.183 GB, free: 10.29 MB / 0.9356 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