Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008807/0.0008807, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.000893/0.000893, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.89/2.89, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003936, allocations: 11.98 kB / 0.9021 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3946, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002184/0.3969, allocations: 1.206 MB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1608/0.5578, allocations: 119.6 MB / 1.176 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.5579, allocations: 4 kB / 1.176 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.5579, allocations: 0 / 1.176 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.466e-05/0.558, allocations: 11.91 kB / 1.176 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.5584, allocations: 55.8 kB / 1.176 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.5586, allocations: 43.8 kB / 1.176 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.5587, allocations: 15.98 kB / 1.176 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.5588, allocations: 15.92 kB / 1.176 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.5588, allocations: 15.92 kB / 1.176 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.5589, allocations: 4 kB / 1.176 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.559, allocations: 15.98 kB / 1.176 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.559, allocations: 11.92 kB / 1.176 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.5591, allocations: 33.7 kB / 1.176 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.5592, allocations: 44.16 kB / 1.176 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5592, allocations: 0 / 1.176 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.617e-06/0.5592, allocations: 0 / 1.176 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.5592, allocations: 3.938 kB / 1.176 GB, free: 11.85 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005733/0.5598, allocations: 379.1 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.5599, allocations: 12.03 kB / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.5599, allocations: 0 / 1.177 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.5601, allocations: 182.8 kB / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.5601, allocations: 4 kB / 1.177 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.5601, allocations: 4 kB / 1.177 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.5604, allocations: 85.64 kB / 1.177 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5604, allocations: 0 / 1.177 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.5604, allocations: 4 kB / 1.177 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5604, allocations: 0 / 1.177 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.5607, allocations: 91.91 kB / 1.177 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.5612, allocations: 284.7 kB / 1.177 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.5614, allocations: 70.53 kB / 1.177 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.5616, allocations: 52.91 kB / 1.177 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.5617, allocations: 85.11 kB / 1.177 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.5618, allocations: 38.55 kB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.5618, allocations: 0 / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0006005/0.5624, allocations: 165.5 kB / 1.178 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.5625, allocations: 51.41 kB / 1.178 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.5626, allocations: 125.7 kB / 1.178 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.5626, allocations: 25.7 kB / 1.178 GB, free: 10 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.5627, allocations: 84.14 kB / 1.178 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.5627, allocations: 19.75 kB / 1.178 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/0.5627, allocations: 0 / 1.178 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5629, allocations: 322.8 kB / 1.178 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.563, allocations: 39.97 kB / 1.178 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.5632, allocations: 52.12 kB / 1.178 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.5633, allocations: 35.97 kB / 1.178 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5633, allocations: 0 / 1.178 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003234/0.5636, allocations: 121.6 kB / 1.179 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.5637, allocations: 8 kB / 1.179 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.5637, allocations: 7.938 kB / 1.179 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5637, allocations: 0 / 1.179 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.5639, allocations: 23.97 kB / 1.179 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5639, allocations: 0 / 1.179 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.41e-05/0.564, allocations: 23.89 kB / 1.179 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.564, allocations: 4 kB / 1.179 GB, free: 9.258 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.5641, allocations: 113.8 kB / 1.179 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.5641, allocations: 0 / 1.179 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.5645, allocations: 133.5 kB / 1.179 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5645, allocations: 0 / 1.179 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5645, allocations: 0 / 1.179 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.5645, allocations: 7.984 kB / 1.179 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.5647, allocations: 173.5 kB / 1.179 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5647, allocations: 0 / 1.179 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-05/0.5648, allocations: 27.97 kB / 1.179 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5648, allocations: 0 / 1.179 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.5649, allocations: 0 / 1.179 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5649, allocations: 0 / 1.179 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5649, allocations: 0 / 1.179 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.5652, allocations: 219.3 kB / 1.179 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.5653, allocations: 81.11 kB / 1.179 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.5653, allocations: 3.984 kB / 1.179 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.5654, allocations: 19.98 kB / 1.179 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.5655, allocations: 7.938 kB / 1.179 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.5655, allocations: 4 kB / 1.179 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.265e-05/0.5656, allocations: 91.27 kB / 1.179 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5656, allocations: 0 / 1.179 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002427/0.5658, allocations: 15.91 kB / 1.179 GB, free: 8.273 MB / 0.9356 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001831/0.566, allocations: 115.2 kB / 1.18 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003381/0.5664, allocations: 91.92 kB / 1.18 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5664, allocations: 0 / 1.18 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.5665, allocations: 47.95 kB / 1.18 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.5669, allocations: 20.66 kB / 1.18 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.5673, allocations: 180.5 kB / 1.18 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.5676, allocations: 0.6809 MB / 1.181 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.961e-05/0.5676, allocations: 4.422 kB / 1.181 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.5677, allocations: 11.44 kB / 1.181 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.5677, allocations: 0 / 1.181 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of Templates: time 0.00372/0.5714, allocations: 0.8219 MB / 1.181 GB, free: 6.254 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches