Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.142/2.142, allocations: 249.5 MB / 257 MB, free: 6.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 184 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 82.53 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.134e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2621, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9481/1.21, allocations: 159 MB / 1.041 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/1.211, allocations: 73.52 kB / 1.041 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.005176/1.216, allocations: 2.142 MB / 1.043 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.293e-06/1.216, allocations: 0 / 1.043 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.216, allocations: 0 / 1.043 GB, free: 8.82 MB / 0.6667 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.0004593/1.216, allocations: 370.1 kB / 1.043 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.216, allocations: 12.03 kB / 1.043 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/1.216, allocations: 11.86 kB / 1.043 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/1.216, allocations: 163.1 kB / 1.043 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/1.216, allocations: 0 / 1.043 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/1.216, allocations: 3.938 kB / 1.043 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.327e-05/1.217, allocations: 19.19 kB / 1.043 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.404e-05/1.217, allocations: 48.88 kB / 1.043 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.217, allocations: 0 / 1.043 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/1.217, allocations: 0 / 1.043 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.217, allocations: 3.953 kB / 1.043 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/1.217, allocations: 263.8 kB / 1.044 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.398e-05/1.217, allocations: 33.64 kB / 1.044 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/1.217, allocations: 16.42 kB / 1.044 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/1.217, allocations: 91.92 kB / 1.044 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.217, allocations: 34.56 kB / 1.044 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/1.217, allocations: 0 / 1.044 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002277/1.218, allocations: 56.89 kB / 1.044 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/1.218, allocations: 51.41 kB / 1.044 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/1.218, allocations: 105.4 kB / 1.044 GB, free: 7.426 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/1.218, allocations: 29.64 kB / 1.044 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/1.218, allocations: 95.23 kB / 1.044 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/1.218, allocations: 15.45 kB / 1.044 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/1.218, allocations: 0 / 1.044 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.218, allocations: 310.8 kB / 1.044 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/1.218, allocations: 11.56 kB / 1.044 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/1.218, allocations: 7.75 kB / 1.044 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.83e-05/1.218, allocations: 11.42 kB / 1.044 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.218, allocations: 0 / 1.044 GB, free: 6.953 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001048/1.218, allocations: 60.59 kB / 1.044 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/1.218, allocations: 4 kB / 1.044 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.218, allocations: 0 / 1.044 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/1.218, allocations: 4 kB / 1.044 GB, free: 6.887 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/1.219, allocations: 23.94 kB / 1.044 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/1.219, allocations: 0 / 1.044 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.759e-05/1.219, allocations: 15.98 kB / 1.044 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/1.219, allocations: 0 / 1.044 GB, free: 6.848 MB / 0.6667 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 7.452e-05/1.219, allocations: 116.9 kB / 1.045 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/1.219, allocations: 3.938 kB / 1.045 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/1.219, allocations: 64.58 kB / 1.045 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.219, allocations: 0 / 1.045 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.219, allocations: 3.953 kB / 1.045 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/1.219, allocations: 240 / 1.045 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/1.219, allocations: 142 kB / 1.045 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.219, allocations: 0 / 1.045 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/1.219, allocations: 23.98 kB / 1.045 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.778e-06/1.219, allocations: 7.969 kB / 1.045 GB, free: 6.453 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/1.219, allocations: 4 kB / 1.045 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.219, allocations: 0 / 1.045 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/1.219, allocations: 4 kB / 1.045 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/1.219, allocations: 157.7 kB / 1.045 GB, free: 6.285 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/1.219, allocations: 77.11 kB / 1.045 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/1.219, allocations: 8 kB / 1.045 GB, free: 6.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/1.22, allocations: 15.98 kB / 1.045 GB, free: 6.168 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/1.22, allocations: 3.984 kB / 1.045 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/1.22, allocations: 0 / 1.045 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 5.347e-05/1.22, allocations: 90.97 kB / 1.045 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/1.22, allocations: 0 / 1.045 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002207/1.22, allocations: 27.33 kB / 1.045 GB, free: 6.055 MB / 0.6667 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.0002198/1.22, allocations: 139.3 kB / 1.045 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.55e-05/1.22, allocations: 23.11 kB / 1.045 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.22, allocations: 3.938 kB / 1.045 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-05/1.22, allocations: 11.62 kB / 1.045 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/1.22, allocations: 11.58 kB / 1.045 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/1.221, allocations: 73.89 kB / 1.045 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/1.221, allocations: 0.6923 MB / 1.046 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 3.855e-05/1.221, allocations: 8.547 kB / 1.046 GB, free: 5.059 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/1.221, allocations: 11.44 kB / 1.046 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of SimCode: time 2.31e-07/1.221, allocations: 0 / 1.046 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of Templates: time 0.003078/1.224, allocations: 0.8906 MB / 1.047 GB, free: 4.176 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches