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.37/2.37, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001215/0.001215, allocations: 172.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.001219/0.001219, allocations: 99.89 kB / 0.9318 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.601e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2862, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.36, allocations: 177.2 MB / 1.392 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.361, allocations: 77.08 kB / 1.392 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.005732/1.366, allocations: 2.207 MB / 1.394 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.435e-06/1.366, allocations: 0 / 1.394 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.366, allocations: 4 kB / 1.394 GB, free: 6.867 MB / 0.8542 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.0004861/1.367, allocations: 362.5 kB / 1.394 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/1.367, allocations: 8.031 kB / 1.394 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/1.367, allocations: 15.84 kB / 1.394 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/1.367, allocations: 175 kB / 1.395 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/1.367, allocations: 0 / 1.395 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/1.367, allocations: 3.188 kB / 1.395 GB, free: 6.238 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/1.367, allocations: 48.94 kB / 1.395 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.367, allocations: 0 / 1.395 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/1.367, allocations: 4 kB / 1.395 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/1.368, allocations: 3.953 kB / 1.395 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/1.368, allocations: 26.36 kB / 1.395 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/1.368, allocations: 288.2 kB / 1.395 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.501e-05/1.368, allocations: 34.27 kB / 1.395 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/1.368, allocations: 12.73 kB / 1.395 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/1.368, allocations: 93.14 kB / 1.395 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/1.368, allocations: 35.33 kB / 1.395 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/1.368, allocations: 4 kB / 1.395 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0002024/1.369, allocations: 60.14 kB / 1.395 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/1.369, allocations: 51.41 kB / 1.395 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/1.369, allocations: 113.5 kB / 1.395 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/1.369, allocations: 25.7 kB / 1.395 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/1.369, allocations: 91.62 kB / 1.395 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/1.369, allocations: 7.906 kB / 1.395 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/1.369, allocations: 3 kB / 1.395 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.369, allocations: 318.8 kB / 1.396 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/1.369, allocations: 11.12 kB / 1.396 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.002e-05/1.369, allocations: 7.625 kB / 1.396 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/1.369, allocations: 7.125 kB / 1.396 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.369, allocations: 0 / 1.396 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.239e-05/1.369, allocations: 59.34 kB / 1.396 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.369, allocations: 7.953 kB / 1.396 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.369, allocations: 4 kB / 1.396 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.369, allocations: 0 / 1.396 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/1.369, allocations: 27.48 kB / 1.396 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.369, allocations: 0 / 1.396 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.572e-05/1.37, allocations: 15.98 kB / 1.396 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/1.37, allocations: 0 / 1.396 GB, free: 4.848 MB / 0.8542 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 () * 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 6.981e-05/1.37, allocations: 105 kB / 1.396 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/1.37, allocations: 15.84 kB / 1.396 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/1.37, allocations: 65.05 kB / 1.396 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.37, allocations: 0 / 1.396 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.37, allocations: 0 / 1.396 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.37, allocations: 0 / 1.396 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/1.37, allocations: 176.7 kB / 1.396 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.37, allocations: 0 / 1.396 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/1.37, allocations: 19.98 kB / 1.396 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.37, allocations: 7.984 kB / 1.396 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/1.37, allocations: 0 / 1.396 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.37, allocations: 7.953 kB / 1.396 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.37, allocations: 4 kB / 1.396 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/1.37, allocations: 145.4 kB / 1.396 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/1.37, allocations: 81.02 kB / 1.396 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/1.37, allocations: 0 / 1.396 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/1.371, allocations: 23.92 kB / 1.396 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/1.371, allocations: 15.69 kB / 1.396 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/1.371, allocations: 0 / 1.396 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.935e-05/1.371, allocations: 92.31 kB / 1.397 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.371, allocations: 0 / 1.397 GB, free: 4.039 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002078/1.371, allocations: 19.94 kB / 1.397 GB, free: 4.02 MB / 0.8542 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 () * 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.0002345/1.371, allocations: 135.1 kB / 1.397 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001055/1.371, allocations: 31.36 kB / 1.397 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.371, allocations: 0 / 1.397 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.277e-05/1.371, allocations: 11.94 kB / 1.397 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/1.371, allocations: 7.438 kB / 1.397 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002299/1.372, allocations: 80.41 kB / 1.397 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/1.372, allocations: 0.6887 MB / 1.398 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.889e-05/1.372, allocations: 15.97 kB / 1.398 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/1.372, allocations: 7.438 kB / 1.398 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of SimCode: time 2.41e-07/1.372, allocations: 0 / 1.398 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of Templates: time 0.00379/1.376, allocations: 1.354 MB / 1.399 GB, free: 1.684 MB / 0.8542 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