Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.362/2.362, 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.001277/0.001277, allocations: 177.5 kB / 0.4902 GB, free: 2.23 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.514/1.514, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.00101/0.00101, allocations: 104 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003246, allocations: 6.969 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2756, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/0.5062, allocations: 176.7 MB / 1.402 GB, free: 8.816 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.5066, allocations: 71.95 kB / 1.402 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.004184/0.5108, allocations: 1.656 MB / 1.403 GB, free: 7.086 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.083e-06/0.5108, allocations: 0 / 1.403 GB, free: 7.086 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.5109, allocations: 0 / 1.403 GB, free: 7.086 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003472/0.5112, allocations: 328.2 kB / 1.404 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5113, allocations: 12.03 kB / 1.404 GB, free: 6.707 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.5113, allocations: 7.891 kB / 1.404 GB, free: 6.699 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.5115, allocations: 167 kB / 1.404 GB, free: 6.496 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/0.5116, allocations: 29.7 kB / 1.404 GB, free: 6.461 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.5116, allocations: 4.172 kB / 1.404 GB, free: 6.457 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.5117, allocations: 45.62 kB / 1.404 GB, free: 6.406 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.5117, allocations: 0 / 1.404 GB, free: 6.406 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.5118, allocations: 0 / 1.404 GB, free: 6.406 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.5118, allocations: 3.953 kB / 1.404 GB, free: 6.402 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.348e-05/0.5119, allocations: 11.98 kB / 1.404 GB, free: 6.391 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.5121, allocations: 161.7 kB / 1.404 GB, free: 6.184 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.789e-05/0.5122, allocations: 26.61 kB / 1.404 GB, free: 6.148 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.5124, allocations: 93.19 kB / 1.404 GB, free: 6.039 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5124, allocations: 34.5 kB / 1.404 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.5124, allocations: 4 kB / 1.404 GB, free: 5.992 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002558/0.5127, allocations: 61.61 kB / 1.404 GB, free: 5.926 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.5127, allocations: 51.41 kB / 1.404 GB, free: 5.863 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.5128, allocations: 92.95 kB / 1.405 GB, free: 5.766 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.5128, allocations: 29.7 kB / 1.405 GB, free: 5.73 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.5129, allocations: 80.14 kB / 1.405 GB, free: 5.648 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.5129, allocations: 3.906 kB / 1.405 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.5129, allocations: 0 / 1.405 GB, free: 5.645 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.513, allocations: 318.8 kB / 1.405 GB, free: 5.324 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/0.5131, allocations: 12 kB / 1.405 GB, free: 5.312 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/0.5131, allocations: 7.938 kB / 1.405 GB, free: 5.305 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.5132, allocations: 7.984 kB / 1.405 GB, free: 5.297 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5132, allocations: 0 / 1.405 GB, free: 5.297 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001198/0.5133, allocations: 49.69 kB / 1.405 GB, free: 5.242 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.5133, allocations: 4 kB / 1.405 GB, free: 5.238 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5133, allocations: 3.984 kB / 1.405 GB, free: 5.234 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5134, allocations: 4 kB / 1.405 GB, free: 5.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.5134, allocations: 7.984 kB / 1.405 GB, free: 5.223 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.5135, allocations: 8 kB / 1.405 GB, free: 5.215 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.5135, allocations: 0 / 1.405 GB, free: 5.215 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.5135, allocations: 3.953 kB / 1.405 GB, free: 5.211 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 7.634e-05/0.5136, allocations: 114.6 kB / 1.405 GB, free: 5.09 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.5136, allocations: 3.906 kB / 1.405 GB, free: 5.086 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.5138, allocations: 61.56 kB / 1.405 GB, free: 5.02 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.5138, allocations: 0 / 1.405 GB, free: 5.02 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5138, allocations: 0 / 1.405 GB, free: 5.02 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.5138, allocations: 12.03 kB / 1.405 GB, free: 5.008 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.5139, allocations: 157.6 kB / 1.405 GB, free: 4.805 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5139, allocations: 0 / 1.405 GB, free: 4.805 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.514, allocations: 4 kB / 1.405 GB, free: 4.801 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.514, allocations: 0 / 1.405 GB, free: 4.801 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.514, allocations: 3.984 kB / 1.405 GB, free: 4.797 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.514, allocations: 0 / 1.405 GB, free: 4.797 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.514, allocations: 0 / 1.405 GB, free: 4.797 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.5142, allocations: 85.02 kB / 1.405 GB, free: 4.695 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.5142, allocations: 89.03 kB / 1.406 GB, free: 4.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.5143, allocations: 0 / 1.406 GB, free: 4.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.75e-05/0.5143, allocations: 0 / 1.406 GB, free: 4.59 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.5143, allocations: 0 / 1.406 GB, free: 4.59 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.5144, allocations: 4 kB / 1.406 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.5144, allocations: 83.27 kB / 1.406 GB, free: 4.504 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5144, allocations: 0 / 1.406 GB, free: 4.504 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001981/0.5146, allocations: 16 kB / 1.406 GB, free: 4.488 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.0002154/0.5148, allocations: 142.2 kB / 1.406 GB, free: 4.344 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.515, allocations: 19.98 kB / 1.406 GB, free: 4.324 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.515, allocations: 4 kB / 1.406 GB, free: 4.32 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.515, allocations: 11.94 kB / 1.406 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.5152, allocations: 13.06 kB / 1.406 GB, free: 4.297 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.5155, allocations: 148.5 kB / 1.406 GB, free: 4.121 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.5158, allocations: 0.6731 MB / 1.407 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 4.768e-05/0.5159, allocations: 7.984 kB / 1.407 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.5159, allocations: 11.44 kB / 1.407 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of SimCode: time 4.91e-07/0.5159, allocations: 0 / 1.407 GB, free: 3.402 MB / 0.9011 GB Notification: Performance of Templates: time 0.003087/0.519, allocations: 0.8997 MB / 1.408 GB, free: 2.504 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches