Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001153/0.001162, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.0104/0.0104, allocations: 169.6 kB / 16.27 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.807/2.807, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003976, allocations: 8.281 kB / 0.9028 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3445, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002062/0.3466, allocations: 1.392 MB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1959/0.5426, allocations: 145.8 MB / 1.202 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.5428, allocations: 0 / 1.202 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.5431, allocations: 19.86 kB / 1.202 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004477/0.5436, allocations: 43.7 kB / 1.202 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009139/0.5445, allocations: 159.5 kB / 1.203 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.545, allocations: 159.4 kB / 1.203 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.5452, allocations: 25.39 kB / 1.203 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.5486, allocations: 176 kB / 1.203 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.5488, allocations: 59.75 kB / 1.203 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.5489, allocations: 4 kB / 1.203 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006216/0.5495, allocations: 163.7 kB / 1.203 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.5496, allocations: 15.92 kB / 1.203 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.5498, allocations: 81.41 kB / 1.203 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006082/0.5504, allocations: 183.4 kB / 1.203 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.5504, allocations: 4 kB / 1.203 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.176e-06/0.5504, allocations: 0 / 1.203 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.5505, allocations: 0 / 1.203 GB, free: 0.6367 MB / 0.9512 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.001437/0.5519, allocations: 455.1 kB / 1.204 GB, free: 148 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/0.552, allocations: 23.91 kB / 1.204 GB, free: 124 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.5532, allocations: 52.69 kB / 1.204 GB, free: 72 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.5537, allocations: 202.8 kB / 1.204 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.5537, allocations: 8 kB / 1.204 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.5538, allocations: 4 kB / 1.204 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009245/0.5547, allocations: 203.1 kB / 1.204 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.5548, allocations: 4 kB / 1.204 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.5548, allocations: 7.984 kB / 1.204 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.5549, allocations: 4 kB / 1.204 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.5559, allocations: 163.8 kB / 1.205 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.558, allocations: 0.8324 MB / 1.205 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.5587, allocations: 142.5 kB / 1.205 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005525/0.5593, allocations: 96.78 kB / 1.206 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.5594, allocations: 7.875 kB / 1.206 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.5594, allocations: 34.56 kB / 1.206 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 2.635e-06/0.5594, allocations: 0 / 1.206 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.00373/0.5632, allocations: 495.2 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.5633, allocations: 55.34 kB / 1.206 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.5635, allocations: 156.8 kB / 1.206 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.5636, allocations: 25.7 kB / 1.206 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.5637, allocations: 100.2 kB / 1.206 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.947e-05/0.5638, allocations: 39.69 kB / 1.206 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.5639, allocations: 17.72 kB / 1.206 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.5641, allocations: 322.8 kB / 1.207 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.5647, allocations: 75.94 kB / 1.207 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.5653, allocations: 116.2 kB / 1.207 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.5664, allocations: 200.1 kB / 1.207 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5664, allocations: 0 / 1.207 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.002138/0.5686, allocations: 302.1 kB / 1.207 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.5687, allocations: 14.12 kB / 1.207 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.5687, allocations: 0 / 1.207 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.5697, allocations: 84.89 kB / 1.208 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.5701, allocations: 47.89 kB / 1.208 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/0.5735, allocations: 1.547 MB / 1.209 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.5739, allocations: 23.89 kB / 1.209 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.574, allocations: 11.98 kB / 1.209 GB, free: 10.38 MB / 0.9669 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.0002037/0.5742, allocations: 127.2 kB / 1.209 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.5743, allocations: 15.84 kB / 1.209 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.5761, allocations: 327 kB / 1.21 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.5761, allocations: 4 kB / 1.21 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.5761, allocations: 3.938 kB / 1.21 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.5761, allocations: 4.125 kB / 1.21 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.5766, allocations: 237.5 kB / 1.21 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5767, allocations: 7.938 kB / 1.21 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.5771, allocations: 39.95 kB / 1.21 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007442/0.5778, allocations: 88.75 kB / 1.21 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.5779, allocations: 4 kB / 1.21 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.5804, allocations: 1.571 MB / 1.211 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5805, allocations: 0 / 1.211 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.5819, allocations: 403.5 kB / 1.212 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.5821, allocations: 100.9 kB / 1.212 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.5821, allocations: 8.062 kB / 1.212 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.5825, allocations: 19.98 kB / 1.212 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.5826, allocations: 15.98 kB / 1.212 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.5826, allocations: 11.92 kB / 1.212 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001123/0.5827, allocations: 111.2 kB / 1.212 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5827, allocations: 0 / 1.212 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006289/0.5834, allocations: 47.94 kB / 1.212 GB, free: 7.02 MB / 0.9669 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.0002307/0.5836, allocations: 115.2 kB / 1.212 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.5849, allocations: 334.7 kB / 1.213 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5849, allocations: 0 / 1.213 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006176/0.5855, allocations: 242.5 kB / 1.213 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.586, allocations: 25.47 kB / 1.213 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.587, allocations: 350.7 kB / 1.213 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.5875, allocations: 0.7243 MB / 1.214 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001961/0.5877, allocations: 28.94 kB / 1.214 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.5877, allocations: 15.44 kB / 1.214 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of SimCode: time 1.052e-06/0.5878, allocations: 0 / 1.214 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of Templates: time 0.008233/0.596, allocations: 2.929 MB / 1.217 GB, free: 2.223 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches