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.00143/0.001431, allocations: 100.1 kB / 15.88 MB, free: 12 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.001577/0.001577, allocations: 199.4 kB / 16.79 MB, free: 6.809 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.434/1.434, allocations: 222.9 MB / 240.5 MB, free: 4.598 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.398/2.398, allocations: 390.2 MB / 0.6649 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 67.88 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.6796, allocations: 140.4 MB / 0.9496 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002848/0.6825, allocations: 1.964 MB / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.85, allocations: 153.1 MB / 1.101 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.8502, allocations: 7.938 kB / 1.101 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.8505, allocations: 19.84 kB / 1.101 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.8508, allocations: 59.56 kB / 1.101 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000747/0.8516, allocations: 235.4 kB / 1.101 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.8519, allocations: 255.1 kB / 1.102 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.8521, allocations: 68.5 kB / 1.102 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.8541, allocations: 223 kB / 1.102 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.8543, allocations: 99.58 kB / 1.102 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.8543, allocations: 8 kB / 1.102 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003767/0.8547, allocations: 171.7 kB / 1.102 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.75e-05/0.8548, allocations: 35.89 kB / 1.102 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.8549, allocations: 95.47 kB / 1.102 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.8552, allocations: 207.6 kB / 1.102 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8552, allocations: 3.938 kB / 1.102 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8552, allocations: 0 / 1.102 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.8552, allocations: 0 / 1.102 GB, free: 5.176 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.001011/0.8562, allocations: 0.5184 MB / 1.103 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.8563, allocations: 11.97 kB / 1.103 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009144/0.8572, allocations: 91.62 kB / 1.103 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.8575, allocations: 226.6 kB / 1.103 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-05/0.8576, allocations: 42.02 kB / 1.103 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.8576, allocations: 16 kB / 1.103 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.8582, allocations: 270.5 kB / 1.104 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.8582, allocations: 4 kB / 1.104 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.8582, allocations: 12 kB / 1.104 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.8582, allocations: 4 kB / 1.104 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/0.8587, allocations: 171.8 kB / 1.104 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.8604, allocations: 1.177 MB / 1.105 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/0.8612, allocations: 202.6 kB / 1.105 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.8614, allocations: 76.8 kB / 1.105 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.8614, allocations: 4 kB / 1.105 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.8615, allocations: 34.56 kB / 1.105 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.8615, allocations: 0 / 1.105 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0028/0.8643, allocations: 0.6219 MB / 1.106 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.8643, allocations: 55.34 kB / 1.106 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.8646, allocations: 219 kB / 1.106 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.8646, allocations: 29.7 kB / 1.106 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.8647, allocations: 140 kB / 1.106 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.8648, allocations: 43.36 kB / 1.106 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.8649, allocations: 45.69 kB / 1.106 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.865, allocations: 326.8 kB / 1.107 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.8652, allocations: 75.94 kB / 1.107 GB, free: 492 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.8655, allocations: 129 kB / 1.107 GB, free: 336 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.8659, allocations: 198.7 kB / 1.107 GB, free: 112 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.8659, allocations: 0 / 1.107 GB, free: 112 kB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001479/0.8674, allocations: 382.8 kB / 1.107 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.8674, allocations: 5.719 kB / 1.107 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.8674, allocations: 4 kB / 1.107 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.8685, allocations: 161.6 kB / 1.108 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.8688, allocations: 39.97 kB / 1.108 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003837/0.8726, allocations: 3.024 MB / 1.111 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.873, allocations: 39.75 kB / 1.111 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.873, allocations: 12.06 kB / 1.111 GB, free: 12.16 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.0001421/0.8732, allocations: 129.8 kB / 1.111 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.8733, allocations: 19.75 kB / 1.111 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.8746, allocations: 372.3 kB / 1.111 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.8746, allocations: 4 kB / 1.111 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.8746, allocations: 7.875 kB / 1.111 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.8746, allocations: 0 / 1.111 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.875, allocations: 277.5 kB / 1.111 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.875, allocations: 4 kB / 1.111 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.8751, allocations: 19.98 kB / 1.111 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.8761, allocations: 161.5 kB / 1.112 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.8762, allocations: 8 kB / 1.112 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003548/0.8797, allocations: 3.076 MB / 1.115 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.8797, allocations: 0 / 1.115 GB, free: 7.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.8811, allocations: 425.8 kB / 1.115 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.8812, allocations: 116.8 kB / 1.115 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.8812, allocations: 4 kB / 1.115 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.8815, allocations: 15.98 kB / 1.115 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.8816, allocations: 23.91 kB / 1.115 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.8816, allocations: 4 kB / 1.115 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001823/0.8818, allocations: 159.2 kB / 1.115 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8818, allocations: 4 kB / 1.115 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004354/0.8823, allocations: 71.84 kB / 1.115 GB, free: 6.902 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.0001942/0.8825, allocations: 127.2 kB / 1.115 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.8836, allocations: 435.3 kB / 1.116 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8836, allocations: 0 / 1.116 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006653/0.8842, allocations: 349.3 kB / 1.116 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.8847, allocations: 63.83 kB / 1.116 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.8857, allocations: 0.5117 MB / 1.117 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.886, allocations: 0.7362 MB / 1.118 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.434e-05/0.8861, allocations: 23.42 kB / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.8861, allocations: 4 kB / 1.118 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of Templates: time 0.006693/0.8928, allocations: 4.397 MB / 1.122 GB, free: 180 kB / 0.8731 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