Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.163/2.163, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.00124/0.00124, allocations: 168.9 kB / 487.4 MB, free: 5.039 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.406/1.406, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008593/0.0008591, allocations: 95.84 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.686e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9481/1.233, allocations: 175.7 MB / 1.378 GB, free: 18.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/1.233, allocations: 72.94 kB / 1.378 GB, free: 18.26 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005755/1.239, allocations: 2.18 MB / 1.38 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.813e-06/1.239, allocations: 0 / 1.38 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.216e-06/1.239, allocations: 0 / 1.38 GB, free: 33.8 MB / 0.8386 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.0005002/1.239, allocations: 367.8 kB / 1.38 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.105e-05/1.24, allocations: 8.281 kB / 1.38 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/1.24, allocations: 11.83 kB / 1.38 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/1.24, allocations: 169.6 kB / 1.38 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/1.24, allocations: 0 / 1.38 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/1.24, allocations: 7.969 kB / 1.38 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001161/1.24, allocations: 22.81 kB / 1.38 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/1.24, allocations: 41.52 kB / 1.38 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.24, allocations: 0 / 1.38 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/1.24, allocations: 3.844 kB / 1.38 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/1.24, allocations: 7.891 kB / 1.38 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/1.241, allocations: 256.5 kB / 1.381 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.776e-05/1.241, allocations: 33.61 kB / 1.381 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/1.241, allocations: 18.5 kB / 1.381 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/1.241, allocations: 87.55 kB / 1.381 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/1.241, allocations: 34.53 kB / 1.381 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/1.241, allocations: 0 / 1.381 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002649/1.241, allocations: 62.83 kB / 1.381 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/1.241, allocations: 54.12 kB / 1.381 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/1.241, allocations: 96.41 kB / 1.381 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/1.241, allocations: 25.7 kB / 1.381 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/1.241, allocations: 94.16 kB / 1.381 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/1.241, allocations: 3.906 kB / 1.381 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/1.241, allocations: 1.531 kB / 1.381 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.242, allocations: 324.7 kB / 1.381 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/1.242, allocations: 7.406 kB / 1.381 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/1.242, allocations: 11.31 kB / 1.381 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.092e-05/1.242, allocations: 14.25 kB / 1.381 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.242, allocations: 0 / 1.381 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001003/1.242, allocations: 55.34 kB / 1.381 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.242, allocations: 5.188 kB / 1.381 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/1.242, allocations: 0 / 1.381 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.242, allocations: 0 / 1.381 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/1.242, allocations: 34.62 kB / 1.382 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/1.242, allocations: 4 kB / 1.382 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/1.242, allocations: 17.16 kB / 1.382 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/1.242, allocations: 0 / 1.382 GB, free: 32.11 MB / 0.8386 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 9.405e-05/1.242, allocations: 102.4 kB / 1.382 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/1.242, allocations: 7.75 kB / 1.382 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/1.243, allocations: 65.02 kB / 1.382 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/1.243, allocations: 4 kB / 1.382 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.243, allocations: 3.953 kB / 1.382 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.243, allocations: 384 / 1.382 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/1.243, allocations: 151 kB / 1.382 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/1.243, allocations: 0 / 1.382 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.751e-05/1.243, allocations: 21.53 kB / 1.382 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.243, allocations: 7.781 kB / 1.382 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/1.243, allocations: 0 / 1.382 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/1.243, allocations: 4 kB / 1.382 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.243, allocations: 3.984 kB / 1.382 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/1.243, allocations: 158.2 kB / 1.382 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/1.243, allocations: 84.77 kB / 1.382 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/1.243, allocations: 0 / 1.382 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/1.243, allocations: 17.77 kB / 1.382 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/1.243, allocations: 11.47 kB / 1.382 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/1.243, allocations: 0.8125 kB / 1.382 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.294e-05/1.243, allocations: 86.28 kB / 1.382 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.243, allocations: 3.844 kB / 1.382 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002249/1.244, allocations: 19.56 kB / 1.382 GB, free: 31.45 MB / 0.8386 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.0001891/1.244, allocations: 132 kB / 1.382 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.966e-05/1.244, allocations: 21.34 kB / 1.382 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.244, allocations: 0 / 1.382 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/1.244, allocations: 19.66 kB / 1.382 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/1.244, allocations: 15.64 kB / 1.382 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/1.244, allocations: 73.2 kB / 1.382 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/1.245, allocations: 0.6828 MB / 1.383 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.366e-05/1.245, allocations: 7.844 kB / 1.383 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/1.245, allocations: 11.34 kB / 1.383 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.245, allocations: 0 / 1.383 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.002865/1.248, allocations: 0.8955 MB / 1.384 GB, free: 30.48 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches