Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001124/0.001124, allocations: 99.5 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.001671/0.001671, allocations: 185.1 kB / 16.92 MB, free: 6.895 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.445/1.445, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7737/0.774, allocations: 142.4 MB / 0.9557 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.00192/0.776, allocations: 1.623 MB / 0.9573 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1731/0.9491, allocations: 151.5 MB / 1.105 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.9493, allocations: 0 / 1.105 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.9495, allocations: 19.86 kB / 1.105 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.9499, allocations: 63.53 kB / 1.105 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.9507, allocations: 242.6 kB / 1.106 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.951, allocations: 259.1 kB / 1.106 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.9512, allocations: 64.38 kB / 1.106 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.9532, allocations: 211.4 kB / 1.106 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.9533, allocations: 79.56 kB / 1.106 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.9534, allocations: 4 kB / 1.106 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.9537, allocations: 183.7 kB / 1.106 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.9538, allocations: 35.83 kB / 1.106 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.9539, allocations: 101.3 kB / 1.106 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.9542, allocations: 199.5 kB / 1.107 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.9542, allocations: 3.938 kB / 1.107 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9542, allocations: 4 kB / 1.107 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.9542, allocations: 0 / 1.107 GB, free: 4.281 MB / 0.8575 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.0009744/0.9552, allocations: 0.4911 MB / 1.107 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.9553, allocations: 8.031 kB / 1.107 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008792/0.9562, allocations: 83.72 kB / 1.107 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.9565, allocations: 239.4 kB / 1.107 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.878e-05/0.9566, allocations: 38.03 kB / 1.107 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.9566, allocations: 16 kB / 1.107 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.9572, allocations: 270.5 kB / 1.108 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9572, allocations: 0 / 1.108 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.9573, allocations: 16 kB / 1.108 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.9573, allocations: 4 kB / 1.108 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/0.9577, allocations: 175.8 kB / 1.108 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.9596, allocations: 1.184 MB / 1.109 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.9603, allocations: 206.7 kB / 1.109 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.9606, allocations: 80.75 kB / 1.109 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.9606, allocations: 3.984 kB / 1.109 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.9606, allocations: 38.56 kB / 1.109 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.9606, allocations: 0 / 1.109 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.002788/0.9634, allocations: 0.6453 MB / 1.11 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.9635, allocations: 59.39 kB / 1.11 GB, free: 476 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.9638, allocations: 214.9 kB / 1.11 GB, free: 252 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.9638, allocations: 25.7 kB / 1.11 GB, free: 220 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.9639, allocations: 140 kB / 1.11 GB, free: 72 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.9639, allocations: 43.36 kB / 1.11 GB, free: 28 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.964, allocations: 17.72 kB / 1.11 GB, free: 4 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.9641, allocations: 334.8 kB / 1.111 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.9644, allocations: 75.95 kB / 1.111 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.9647, allocations: 137.5 kB / 1.111 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.9651, allocations: 206.8 kB / 1.111 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.9651, allocations: 0 / 1.111 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00152/0.9666, allocations: 391.4 kB / 1.112 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.9667, allocations: 12.03 kB / 1.112 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.9667, allocations: 3.938 kB / 1.112 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.9678, allocations: 161.5 kB / 1.112 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.968, allocations: 39.97 kB / 1.112 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004279/0.9723, allocations: 3.044 MB / 1.115 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.9727, allocations: 39.92 kB / 1.115 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.9728, allocations: 7.984 kB / 1.115 GB, free: 11.23 MB / 0.8731 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.0001452/0.9729, allocations: 129.7 kB / 1.115 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.973, allocations: 19.81 kB / 1.115 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.9744, allocations: 384.5 kB / 1.115 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.9745, allocations: 4 kB / 1.115 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9745, allocations: 7.922 kB / 1.115 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.9745, allocations: 0 / 1.115 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.9748, allocations: 273.4 kB / 1.116 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9748, allocations: 0 / 1.116 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.975, allocations: 31.91 kB / 1.116 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000993/0.976, allocations: 165.5 kB / 1.116 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.976, allocations: 3.984 kB / 1.116 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003648/0.9797, allocations: 3.072 MB / 1.119 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.9797, allocations: 4.031 kB / 1.119 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.981, allocations: 447.4 kB / 1.119 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.9812, allocations: 124.7 kB / 1.119 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.9812, allocations: 0 / 1.119 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.9815, allocations: 19.98 kB / 1.119 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.9816, allocations: 19.97 kB / 1.119 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.9816, allocations: 4 kB / 1.119 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001994/0.9818, allocations: 163.2 kB / 1.12 GB, free: 6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9818, allocations: 0 / 1.12 GB, free: 6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004284/0.9823, allocations: 67.94 kB / 1.12 GB, free: 5.934 MB / 0.8731 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.000227/0.9825, allocations: 115.2 kB / 1.12 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.9836, allocations: 461.4 kB / 1.12 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9836, allocations: 3.938 kB / 1.12 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006978/0.9843, allocations: 361.2 kB / 1.12 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.9848, allocations: 52.33 kB / 1.121 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.9858, allocations: 0.5176 MB / 1.121 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.9862, allocations: 0.7284 MB / 1.122 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.9863, allocations: 27.42 kB / 1.122 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9863, allocations: 0 / 1.122 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of Templates: time 0.007405/0.9937, allocations: 4.383 MB / 1.126 GB, free: 15.2 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches