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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.612/2.612, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 172 kB / 0.4902 GB, free: 2.305 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 223.2 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009365/0.0009363, allocations: 92.33 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 13.67 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2857, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2602/0.546, allocations: 177.2 MB / 1.402 GB, free: 8.312 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.5463, allocations: 75.95 kB / 1.402 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.007589/0.5539, allocations: 2.195 MB / 1.404 GB, free: 6.035 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.648e-06/0.5539, allocations: 7.922 kB / 1.405 GB, free: 6.027 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.554, allocations: 0 / 1.405 GB, free: 6.027 MB / 0.9011 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.0006231/0.5546, allocations: 375.2 kB / 1.405 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.5547, allocations: 12.56 kB / 1.405 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.5547, allocations: 15.86 kB / 1.405 GB, free: 5.586 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.5549, allocations: 171 kB / 1.405 GB, free: 5.379 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.5549, allocations: 0 / 1.405 GB, free: 5.379 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.5549, allocations: 4 kB / 1.405 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.5553, allocations: 85.64 kB / 1.405 GB, free: 5.285 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.5553, allocations: 3.984 kB / 1.405 GB, free: 5.281 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.5554, allocations: 0 / 1.405 GB, free: 5.281 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.5554, allocations: 3.953 kB / 1.405 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.5558, allocations: 95.92 kB / 1.405 GB, free: 5.184 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004779/0.5563, allocations: 284.7 kB / 1.406 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.5566, allocations: 70.53 kB / 1.406 GB, free: 4.777 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.5568, allocations: 93.12 kB / 1.406 GB, free: 4.668 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.5569, allocations: 34.52 kB / 1.406 GB, free: 4.625 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.5569, allocations: 4 kB / 1.406 GB, free: 4.621 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0007705/0.5577, allocations: 161.5 kB / 1.406 GB, free: 4.457 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.5577, allocations: 51.41 kB / 1.406 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.5578, allocations: 109 kB / 1.406 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.5579, allocations: 29.69 kB / 1.406 GB, free: 4.246 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.5579, allocations: 92.05 kB / 1.406 GB, free: 4.152 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.558, allocations: 7.906 kB / 1.406 GB, free: 4.145 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-06/0.558, allocations: 4 kB / 1.406 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5581, allocations: 314.8 kB / 1.406 GB, free: 3.824 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.5583, allocations: 43.97 kB / 1.406 GB, free: 3.781 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.5585, allocations: 39.97 kB / 1.407 GB, free: 3.742 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.5587, allocations: 47.95 kB / 1.407 GB, free: 3.695 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5588, allocations: 0 / 1.407 GB, free: 3.695 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004671/0.5592, allocations: 125.5 kB / 1.407 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.5593, allocations: 4 kB / 1.407 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.5593, allocations: 7.891 kB / 1.407 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5593, allocations: 0 / 1.407 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.5595, allocations: 23.97 kB / 1.407 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5595, allocations: 0 / 1.407 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.5596, allocations: 19.98 kB / 1.407 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.5597, allocations: 8 kB / 1.407 GB, free: 3.504 MB / 0.9011 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 9.885e-05/0.5598, allocations: 113.8 kB / 1.407 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.5598, allocations: 4 kB / 1.407 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/0.5603, allocations: 125.5 kB / 1.407 GB, free: 3.25 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.5604, allocations: 7.953 kB / 1.407 GB, free: 3.242 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5604, allocations: 4 kB / 1.407 GB, free: 3.238 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5604, allocations: 3.938 kB / 1.407 GB, free: 3.234 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.5606, allocations: 173.5 kB / 1.407 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5606, allocations: 0 / 1.407 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.5608, allocations: 23.97 kB / 1.407 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.5608, allocations: 0 / 1.407 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.5608, allocations: 0 / 1.407 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5608, allocations: 0 / 1.407 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5608, allocations: 7.953 kB / 1.407 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.5613, allocations: 219.8 kB / 1.407 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.5614, allocations: 81.02 kB / 1.407 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.5615, allocations: 3.984 kB / 1.407 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.5616, allocations: 15.98 kB / 1.407 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.5617, allocations: 11.95 kB / 1.408 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.5617, allocations: 0 / 1.408 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 7.016e-05/0.5618, allocations: 99.2 kB / 1.408 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.004e-06/0.5618, allocations: 0 / 1.408 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003543/0.5622, allocations: 15.94 kB / 1.408 GB, free: 2.512 MB / 0.9011 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.0002689/0.5624, allocations: 143.2 kB / 1.408 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004671/0.5629, allocations: 91.92 kB / 1.408 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5629, allocations: 1.625 kB / 1.408 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.5632, allocations: 51.95 kB / 1.408 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.5635, allocations: 8.969 kB / 1.408 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.5639, allocations: 188.4 kB / 1.408 GB, free: 2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.5643, allocations: 0.6848 MB / 1.409 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.81e-05/0.5643, allocations: 4 kB / 1.409 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.5644, allocations: 11.44 kB / 1.409 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of SimCode: time 3.11e-07/0.5644, allocations: 0 / 1.409 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of Templates: time 0.005117/0.5695, allocations: 1.246 MB / 1.41 GB, free: 36 kB / 0.9011 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","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches