Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009297/0.0009297, allocations: 92.23 kB / 16.02 MB, free: 80 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.001496/0.001496, allocations: 183.8 kB / 16.92 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.293 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.765/2.765, allocations: 437.8 MB / 0.7128 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003964, allocations: 8 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7712, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002355/0.7736, allocations: 1.386 MB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.183/0.9567, allocations: 145.8 MB / 1.167 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.9569, allocations: 4 kB / 1.167 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.9571, allocations: 15.86 kB / 1.167 GB, free: 12.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.9575, allocations: 51.7 kB / 1.168 GB, free: 12.02 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.9581, allocations: 151.5 kB / 1.168 GB, free: 11.88 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000301/0.9585, allocations: 163.5 kB / 1.168 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.9587, allocations: 30.98 kB / 1.168 GB, free: 11.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.9609, allocations: 166 kB / 1.168 GB, free: 11.54 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.9611, allocations: 51.77 kB / 1.168 GB, free: 11.49 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.9611, allocations: 11.94 kB / 1.168 GB, free: 11.48 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.9615, allocations: 171.7 kB / 1.168 GB, free: 11.31 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.868e-05/0.9616, allocations: 15.92 kB / 1.168 GB, free: 11.29 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.9617, allocations: 81.34 kB / 1.168 GB, free: 11.21 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.962, allocations: 139.7 kB / 1.168 GB, free: 11.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.962, allocations: 0 / 1.168 GB, free: 11.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.617e-06/0.962, allocations: 0 / 1.168 GB, free: 11.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.962, allocations: 0 / 1.168 GB, free: 11.07 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009729/0.963, allocations: 455.1 kB / 1.169 GB, free: 10.58 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.9631, allocations: 12.03 kB / 1.169 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007021/0.9638, allocations: 60.69 kB / 1.169 GB, free: 10.51 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.964, allocations: 196.1 kB / 1.169 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.9641, allocations: 7.938 kB / 1.169 GB, free: 10.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.9641, allocations: 12 kB / 1.169 GB, free: 10.26 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.9646, allocations: 197.8 kB / 1.169 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.9646, allocations: 0 / 1.169 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.9647, allocations: 0 / 1.169 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.9647, allocations: 8 kB / 1.169 GB, free: 10.04 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006431/0.9653, allocations: 167.8 kB / 1.17 GB, free: 9.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.9665, allocations: 0.832 MB / 1.17 GB, free: 8.961 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.967, allocations: 150.4 kB / 1.17 GB, free: 8.805 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.9672, allocations: 92.8 kB / 1.171 GB, free: 8.711 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.9673, allocations: 0 / 1.171 GB, free: 8.711 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.9673, allocations: 30.56 kB / 1.171 GB, free: 8.672 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.9673, allocations: 4 kB / 1.171 GB, free: 8.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.002025/0.9693, allocations: 495.3 kB / 1.171 GB, free: 8.156 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.9694, allocations: 55.41 kB / 1.171 GB, free: 8.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.9696, allocations: 152.6 kB / 1.171 GB, free: 7.93 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.9696, allocations: 29.7 kB / 1.171 GB, free: 7.895 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.9697, allocations: 108.2 kB / 1.171 GB, free: 7.785 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.9697, allocations: 27.56 kB / 1.171 GB, free: 7.758 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.9698, allocations: 21.7 kB / 1.171 GB, free: 7.73 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.97, allocations: 322.8 kB / 1.172 GB, free: 7.406 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.9702, allocations: 75.92 kB / 1.172 GB, free: 7.332 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.9706, allocations: 112.2 kB / 1.172 GB, free: 7.207 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/0.9712, allocations: 204.1 kB / 1.172 GB, free: 6.992 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9712, allocations: 3.938 kB / 1.172 GB, free: 6.988 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001103/0.9723, allocations: 298.1 kB / 1.172 GB, free: 6.688 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.9723, allocations: 11.94 kB / 1.172 GB, free: 6.676 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.9723, allocations: 0 / 1.172 GB, free: 6.676 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/0.9729, allocations: 92.83 kB / 1.173 GB, free: 6.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.9732, allocations: 39.95 kB / 1.173 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.9754, allocations: 1.559 MB / 1.174 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.9756, allocations: 27.94 kB / 1.174 GB, free: 4.824 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.9756, allocations: 7.984 kB / 1.174 GB, free: 4.816 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.9758, allocations: 131.8 kB / 1.174 GB, free: 4.68 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.9758, allocations: 11.81 kB / 1.174 GB, free: 4.668 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.977, allocations: 330.9 kB / 1.175 GB, free: 4.328 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.977, allocations: 4 kB / 1.175 GB, free: 4.324 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.977, allocations: 0 / 1.175 GB, free: 4.324 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.977, allocations: 3.938 kB / 1.175 GB, free: 4.32 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.9773, allocations: 245.3 kB / 1.175 GB, free: 4.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9773, allocations: 0 / 1.175 GB, free: 4.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.9776, allocations: 39.95 kB / 1.175 GB, free: 3.992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/0.9781, allocations: 88.77 kB / 1.175 GB, free: 3.902 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.9781, allocations: 0 / 1.175 GB, free: 3.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.9801, allocations: 1.575 MB / 1.176 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9801, allocations: 0 / 1.176 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.9813, allocations: 404.1 kB / 1.177 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.9814, allocations: 108.8 kB / 1.177 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.9814, allocations: 0 / 1.177 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.9817, allocations: 27.98 kB / 1.177 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.837e-05/0.9818, allocations: 15.97 kB / 1.177 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.9818, allocations: 0 / 1.177 GB, free: 1.609 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.462e-05/0.9819, allocations: 119.2 kB / 1.177 GB, free: 1.492 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9819, allocations: 4 kB / 1.177 GB, free: 1.488 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003436/0.9822, allocations: 44 kB / 1.177 GB, free: 1.445 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002053/0.9824, allocations: 115.2 kB / 1.177 GB, free: 1.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009475/0.9834, allocations: 330.7 kB / 1.178 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9834, allocations: 0 / 1.178 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.984, allocations: 246.5 kB / 1.178 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.9843, allocations: 30.81 kB / 1.178 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008728/0.9852, allocations: 373 kB / 1.178 GB, free: 320 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.9856, allocations: 0.7127 MB / 1.179 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.9857, allocations: 19.42 kB / 1.179 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.9857, allocations: 0 / 1.179 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of Templates: time 0.005435/0.9911, allocations: 2.716 MB / 1.182 GB, free: 12.84 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches