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.005994/0.005994, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001218/0.001218, allocations: 193.5 kB / 16.79 MB, free: 5.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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001789, allocations: 67.48 kB / 0.899 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3088, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002982/0.3119, allocations: 1.552 MB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1314/0.4433, allocations: 129.9 MB / 1.181 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.4434, allocations: 4 kB / 1.181 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.4434, allocations: 7.984 kB / 1.181 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.4435, allocations: 3.938 kB / 1.181 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.4439, allocations: 63.66 kB / 1.181 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.819e-05/0.444, allocations: 55.72 kB / 1.181 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.702e-05/0.4441, allocations: 16.22 kB / 1.181 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.444e-05/0.4442, allocations: 19.92 kB / 1.181 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.327e-05/0.4442, allocations: 27.91 kB / 1.181 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.4443, allocations: 0 / 1.181 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.4444, allocations: 16 kB / 1.181 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.4444, allocations: 11.92 kB / 1.181 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.4444, allocations: 27.84 kB / 1.181 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.89e-05/0.4445, allocations: 35.89 kB / 1.181 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4446, allocations: 0 / 1.181 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.12e-07/0.4446, allocations: 0 / 1.181 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.4446, allocations: 0 / 1.181 GB, free: 4.082 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.0005154/0.4451, allocations: 375.3 kB / 1.182 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4451, allocations: 19.95 kB / 1.182 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.4452, allocations: 4.844 kB / 1.182 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.4453, allocations: 176.2 kB / 1.182 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.4453, allocations: 384 / 1.182 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.4453, allocations: 4.375 kB / 1.182 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.4456, allocations: 74.2 kB / 1.182 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4456, allocations: 4.188 kB / 1.182 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.4457, allocations: 3.938 kB / 1.182 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4457, allocations: 0 / 1.182 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.446, allocations: 71.92 kB / 1.182 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.4464, allocations: 276.8 kB / 1.182 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.4466, allocations: 66.52 kB / 1.182 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.4467, allocations: 40.91 kB / 1.182 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.4469, allocations: 85.11 kB / 1.183 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.4469, allocations: 38.55 kB / 1.183 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.4469, allocations: 0 / 1.183 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000504/0.4475, allocations: 129.4 kB / 1.183 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.4475, allocations: 59.41 kB / 1.183 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/0.4476, allocations: 121.7 kB / 1.183 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.4476, allocations: 25.7 kB / 1.183 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.4477, allocations: 96.08 kB / 1.183 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.4477, allocations: 7.812 kB / 1.183 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.4478, allocations: 13.72 kB / 1.183 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4479, allocations: 322.8 kB / 1.183 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.448, allocations: 35.91 kB / 1.183 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.4482, allocations: 35.95 kB / 1.183 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.4484, allocations: 72.72 kB / 1.183 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4484, allocations: 0 / 1.183 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002946/0.4487, allocations: 97.62 kB / 1.184 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4488, allocations: 5.562 kB / 1.184 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4488, allocations: 0 / 1.184 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4488, allocations: 4 kB / 1.184 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.4489, allocations: 11.98 kB / 1.184 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4489, allocations: 3.938 kB / 1.184 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.449, allocations: 15.97 kB / 1.184 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.449, allocations: 0 / 1.184 GB, free: 1.586 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.686e-05/0.4491, allocations: 121.8 kB / 1.184 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.4491, allocations: 7.906 kB / 1.184 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.4495, allocations: 105.5 kB / 1.184 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4495, allocations: 4 kB / 1.184 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4495, allocations: 0 / 1.184 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4495, allocations: 4 kB / 1.184 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.4497, allocations: 173.6 kB / 1.184 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4497, allocations: 4 kB / 1.184 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.032e-05/0.4498, allocations: 15.98 kB / 1.184 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4498, allocations: 0 / 1.184 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.4499, allocations: 0 / 1.184 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4499, allocations: 0 / 1.184 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4499, allocations: 0 / 1.184 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.4502, allocations: 211.6 kB / 1.184 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.4503, allocations: 77.11 kB / 1.184 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.4503, allocations: 0 / 1.184 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4504, allocations: 11.98 kB / 1.184 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.4505, allocations: 12.02 kB / 1.184 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.4505, allocations: 0 / 1.184 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.4505, allocations: 99.7 kB / 1.184 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.343e-06/0.4506, allocations: 0 / 1.184 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002382/0.4508, allocations: 23.88 kB / 1.184 GB, free: 0.6289 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001622/0.451, allocations: 107.2 kB / 1.185 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.4513, allocations: 63.92 kB / 1.185 GB, free: 464 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4513, allocations: 4 kB / 1.185 GB, free: 460 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.4515, allocations: 39.91 kB / 1.185 GB, free: 420 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.4518, allocations: 16.25 kB / 1.185 GB, free: 404 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.4522, allocations: 199.2 kB / 1.185 GB, free: 172 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.4525, allocations: 0.6809 MB / 1.186 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.4525, allocations: 11.44 kB / 1.186 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.4525, allocations: 0 / 1.186 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of Templates: time 0.002411/0.455, allocations: 0.9264 MB / 1.186 GB, free: 14.53 MB / 0.9512 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/jenkins1/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