Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001425, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003866, allocations: 8 kB / 0.8145 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9469/0.9473, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001217/0.9485, allocations: 0.9794 MB / 0.9545 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1474/1.096, allocations: 111.9 MB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/1.096, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/1.096, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/1.096, allocations: 3.984 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/1.097, allocations: 50.58 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.723e-05/1.097, allocations: 11.98 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/1.097, allocations: 0 / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/1.097, allocations: 19.92 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/1.097, allocations: 8 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/1.097, allocations: 3.938 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.19e-05/1.097, allocations: 15.98 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/1.097, allocations: 3.984 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/1.097, allocations: 33.64 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.448e-05/1.097, allocations: 17.95 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/1.097, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.174e-06/1.097, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.95e-06/1.097, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 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.0004723/1.098, allocations: 343.2 kB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.098, allocations: 8.031 kB / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/1.098, allocations: 4 kB / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/1.098, allocations: 159.1 kB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-05/1.098, allocations: 33.69 kB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/1.098, allocations: 0 / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/1.098, allocations: 45.67 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.098, allocations: 3.938 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/1.098, allocations: 3.953 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.098, allocations: 8 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.634e-05/1.098, allocations: 11.92 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/1.099, allocations: 149.7 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/1.099, allocations: 34.61 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/1.099, allocations: 89.19 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/1.099, allocations: 38.56 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/1.099, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002507/1.099, allocations: 57.61 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/1.099, allocations: 59.36 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/1.099, allocations: 89.86 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/1.099, allocations: 33.7 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/1.099, allocations: 80.14 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/1.099, allocations: 15.8 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/1.099, allocations: 0 / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.1, allocations: 310.8 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.371e-05/1.1, allocations: 8 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.835e-05/1.1, allocations: 11.98 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.336e-05/1.1, allocations: 4 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.1, allocations: 0 / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001254/1.1, allocations: 49.62 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.1, allocations: 15.98 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.872e-06/1.1, allocations: 0 / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.1, allocations: 0 / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/1.1, allocations: 4 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/1.1, allocations: 0 / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/1.1, allocations: 15.83 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/1.1, allocations: 4 kB / 1.066 GB, free: 12.9 MB / 0.8262 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.717e-05/1.1, allocations: 105.8 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/1.1, allocations: 0 / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/1.1, allocations: 61.69 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.1, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.1, allocations: 3.938 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.1, allocations: 0 / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/1.101, allocations: 157.6 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.101, allocations: 3.938 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/1.101, allocations: 11.98 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/1.101, allocations: 4.031 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/1.101, allocations: 0 / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/1.101, allocations: 3.984 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.101, allocations: 4 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/1.101, allocations: 80.98 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/1.101, allocations: 81.09 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/1.101, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4e-05/1.101, allocations: 8 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/1.101, allocations: 3.984 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/1.101, allocations: 8 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.398e-05/1.101, allocations: 79.28 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/1.101, allocations: 3.938 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002006/1.101, allocations: 8 kB / 1.066 GB, free: 12.18 MB / 0.8262 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.0001598/1.101, allocations: 111.2 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001387/1.102, allocations: 19.98 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.102, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.766e-05/1.102, allocations: 12 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/1.102, allocations: 18 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/1.102, allocations: 144.4 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/1.102, allocations: 0.677 MB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.04e-05/1.102, allocations: 4 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/1.102, allocations: 11.44 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/1.102, allocations: 3.938 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of Templates: time 0.002865/1.105, allocations: 470 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches