Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_TDryBulXi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wetBul.TWetBul|wetBulApp.TWetBul",fileNamePrefix="Buildings_9_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_9_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.001308/0.001308, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001433/0.001433, allocations: 197.9 kB / 16.14 MB, free: 6.648 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.543/2.543, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.91 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7594/0.7607, allocations: 140.3 MB / 0.9489 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002633/0.7634, allocations: 1.732 MB / 0.9506 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1826/0.9459, allocations: 147.4 MB / 1.095 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.9462, allocations: 0 / 1.095 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.9465, allocations: 15.86 kB / 1.095 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.9469, allocations: 43.7 kB / 1.095 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.9475, allocations: 163.5 kB / 1.095 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.9478, allocations: 151.5 kB / 1.095 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.948, allocations: 27.08 kB / 1.095 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.9502, allocations: 171.3 kB / 1.095 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.9503, allocations: 63.73 kB / 1.095 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.9504, allocations: 4 kB / 1.095 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.9508, allocations: 167.7 kB / 1.095 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.9508, allocations: 19.91 kB / 1.095 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.9509, allocations: 51.72 kB / 1.095 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.9513, allocations: 199.4 kB / 1.096 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9513, allocations: 3.984 kB / 1.096 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9513, allocations: 0 / 1.096 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.9513, allocations: 0 / 1.096 GB, free: 11.37 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001054/0.9524, allocations: 463 kB / 1.096 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.9525, allocations: 8.031 kB / 1.096 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000722/0.9532, allocations: 56.78 kB / 1.096 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.9535, allocations: 210.7 kB / 1.096 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.9535, allocations: 8 kB / 1.096 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.9535, allocations: 7.938 kB / 1.096 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.954, allocations: 186.8 kB / 1.096 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.954, allocations: 0 / 1.096 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.9541, allocations: 4 kB / 1.097 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.9541, allocations: 4 kB / 1.097 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005012/0.9546, allocations: 147.7 kB / 1.097 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.9558, allocations: 0.8168 MB / 1.097 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.9563, allocations: 138.5 kB / 1.098 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.9565, allocations: 84.78 kB / 1.098 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.9566, allocations: 0 / 1.098 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.9566, allocations: 38.5 kB / 1.098 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.9566, allocations: 0 / 1.098 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001995/0.9586, allocations: 459.2 kB / 1.098 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.9587, allocations: 55.34 kB / 1.098 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.9588, allocations: 155.7 kB / 1.098 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.9589, allocations: 25.7 kB / 1.098 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.959, allocations: 112.2 kB / 1.098 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.959, allocations: 31.78 kB / 1.098 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/0.9591, allocations: 37.61 kB / 1.099 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.9592, allocations: 318.8 kB / 1.099 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.9595, allocations: 67.94 kB / 1.099 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.9598, allocations: 104.2 kB / 1.099 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.9603, allocations: 176.1 kB / 1.099 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9603, allocations: 0 / 1.099 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001086/0.9614, allocations: 274.1 kB / 1.099 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.9614, allocations: 20.05 kB / 1.099 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.9614, allocations: 0 / 1.099 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006481/0.9621, allocations: 80.77 kB / 1.1 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.9623, allocations: 39.84 kB / 1.1 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.9645, allocations: 1.552 MB / 1.101 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.9648, allocations: 19.92 kB / 1.101 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.9648, allocations: 12.38 kB / 1.101 GB, free: 5.273 MB / 0.8575 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.0001236/0.9649, allocations: 117.8 kB / 1.101 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.965, allocations: 15.75 kB / 1.101 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.9661, allocations: 310.9 kB / 1.102 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.9661, allocations: 0 / 1.102 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.9661, allocations: 0 / 1.102 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.9661, allocations: 7.938 kB / 1.102 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.9664, allocations: 237.5 kB / 1.102 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.9664, allocations: 4 kB / 1.102 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.9666, allocations: 39.89 kB / 1.102 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000516/0.9671, allocations: 80.77 kB / 1.102 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.9672, allocations: 4 kB / 1.102 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.969, allocations: 1.567 MB / 1.103 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.969, allocations: 0 / 1.103 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.9701, allocations: 380.1 kB / 1.104 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.154e-05/0.9702, allocations: 105 kB / 1.104 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.9702, allocations: 15.97 kB / 1.104 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.9704, allocations: 11.98 kB / 1.104 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.9705, allocations: 19.98 kB / 1.104 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.9705, allocations: 7.984 kB / 1.104 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.856e-05/0.9706, allocations: 113.1 kB / 1.104 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9706, allocations: 0 / 1.104 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003365/0.971, allocations: 48 kB / 1.104 GB, free: 1.973 MB / 0.8575 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.0001943/0.9712, allocations: 111.2 kB / 1.104 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008699/0.972, allocations: 310.4 kB / 1.104 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.9721, allocations: 4.25 kB / 1.104 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005454/0.9726, allocations: 230.5 kB / 1.105 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.973, allocations: 23.92 kB / 1.105 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/0.9739, allocations: 360 kB / 1.105 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.9742, allocations: 0.7127 MB / 1.106 GB, free: 156 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001732/0.9744, allocations: 20.89 kB / 1.106 GB, free: 136 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.9745, allocations: 19.36 kB / 1.106 GB, free: 120 kB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.9745, allocations: 4 kB / 1.106 GB, free: 116 kB / 0.8575 GB Notification: Performance of Templates: time 0.006811/0.9813, allocations: 2.943 MB / 1.109 GB, free: 13.19 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches