Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.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 1.616/1.616, allocations: 249.5 MB / 257 MB, free: 6.965 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.001213/0.001214, allocations: 176.7 kB / 316.3 MB, free: 3.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008205/0.0008206, allocations: 81.52 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.897e-05/1.898e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2291, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8556/1.085, allocations: 158.5 MB / 1.04 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/1.085, allocations: 74.7 kB / 1.04 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.003756/1.089, allocations: 1.612 MB / 1.042 GB, free: 9.844 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.392e-06/1.089, allocations: 0 / 1.042 GB, free: 9.844 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.089, allocations: 0 / 1.042 GB, free: 9.844 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003596/1.089, allocations: 322.4 kB / 1.042 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/1.089, allocations: 8.031 kB / 1.042 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/1.089, allocations: 3.953 kB / 1.042 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/1.089, allocations: 171 kB / 1.042 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.621e-05/1.09, allocations: 25.7 kB / 1.042 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/1.09, allocations: 4 kB / 1.042 GB, free: 9.234 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.996e-05/1.09, allocations: 4.812 kB / 1.042 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.041e-05/1.09, allocations: 37.81 kB / 1.042 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.09, allocations: 0 / 1.042 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/1.09, allocations: 0 / 1.042 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.09, allocations: 3.953 kB / 1.042 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/1.09, allocations: 134.1 kB / 1.042 GB, free: 9.02 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.643e-05/1.09, allocations: 26.45 kB / 1.042 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.796e-05/1.09, allocations: 12.8 kB / 1.042 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001934/1.09, allocations: 89.19 kB / 1.042 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/1.09, allocations: 34.56 kB / 1.042 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 3.777e-06/1.09, allocations: 0 / 1.042 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002504/1.091, allocations: 48.09 kB / 1.043 GB, free: 8.781 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/1.091, allocations: 55.41 kB / 1.043 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/1.091, allocations: 92.98 kB / 1.043 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/1.091, allocations: 25.7 kB / 1.043 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/1.091, allocations: 80.14 kB / 1.043 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/1.091, allocations: 19.73 kB / 1.043 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/1.091, allocations: 0 / 1.043 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.091, allocations: 314.8 kB / 1.043 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/1.091, allocations: 4 kB / 1.043 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-06/1.091, allocations: 4 kB / 1.043 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/1.091, allocations: 7.812 kB / 1.043 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.091, allocations: 0 / 1.043 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.057e-05/1.091, allocations: 44.19 kB / 1.043 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/1.091, allocations: 11.98 kB / 1.043 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.091, allocations: 0 / 1.043 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.091, allocations: 0 / 1.043 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.561e-05/1.091, allocations: 7.938 kB / 1.043 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/1.091, allocations: 0 / 1.043 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/1.091, allocations: 4 kB / 1.043 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/1.091, allocations: 4 kB / 1.043 GB, free: 8.086 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 8.06e-05/1.092, allocations: 111.4 kB / 1.043 GB, free: 7.977 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/1.092, allocations: 0 / 1.043 GB, free: 7.977 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/1.092, allocations: 57.61 kB / 1.043 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/1.092, allocations: 0 / 1.043 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.092, allocations: 0 / 1.043 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.092, allocations: 7.938 kB / 1.043 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/1.092, allocations: 130.1 kB / 1.043 GB, free: 7.738 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.092, allocations: 7.953 kB / 1.043 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/1.092, allocations: 8 kB / 1.043 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.092, allocations: 0 / 1.043 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/1.092, allocations: 0 / 1.043 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/1.092, allocations: 4.562 kB / 1.043 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.092, allocations: 0 / 1.043 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/1.092, allocations: 72.8 kB / 1.044 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/1.092, allocations: 85.06 kB / 1.044 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/1.092, allocations: 4 kB / 1.044 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.177e-05/1.092, allocations: 4 kB / 1.044 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/1.092, allocations: 7.984 kB / 1.044 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/1.092, allocations: 0 / 1.044 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 3.311e-05/1.092, allocations: 79.7 kB / 1.044 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/1.092, allocations: 0 / 1.044 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001741/1.092, allocations: 11.94 kB / 1.044 GB, free: 7.43 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.0002094/1.093, allocations: 143.6 kB / 1.044 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 7.939e-05/1.093, allocations: 11.94 kB / 1.044 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/1.093, allocations: 4 kB / 1.044 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.806e-05/1.093, allocations: 11.61 kB / 1.044 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/1.093, allocations: 3.984 kB / 1.044 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/1.093, allocations: 55.19 kB / 1.044 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/1.093, allocations: 0.6807 MB / 1.045 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 4.319e-05/1.093, allocations: 8.078 kB / 1.045 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/1.093, allocations: 11.44 kB / 1.045 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of SimCode: time 1.663e-06/1.093, allocations: 0 / 1.045 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of Templates: time 0.002667/1.096, allocations: 0.6612 MB / 1.045 GB, free: 5.816 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches