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.426/1.426, allocations: 249.3 MB / 261.8 MB, free: 5.93 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.001016/0.001016, allocations: 176.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008989/0.0008989, allocations: 78.55 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.642e-05, allocations: 7.984 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2478, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9421/1.19, allocations: 158.2 MB / 1.046 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/1.19, allocations: 89.86 kB / 1.046 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.004014/1.194, allocations: 1.627 MB / 1.048 GB, free: 7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.934e-06/1.194, allocations: 0 / 1.048 GB, free: 7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.207e-06/1.195, allocations: 0 / 1.048 GB, free: 7 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.0003618/1.195, allocations: 324.8 kB / 1.048 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/1.195, allocations: 8.031 kB / 1.048 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/1.195, allocations: 3.953 kB / 1.048 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/1.195, allocations: 169.9 kB / 1.048 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.719e-05/1.195, allocations: 29.02 kB / 1.048 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/1.195, allocations: 4.188 kB / 1.048 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/1.195, allocations: 37.62 kB / 1.048 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/1.195, allocations: 0 / 1.048 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/1.195, allocations: 3.812 kB / 1.048 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/1.195, allocations: 0 / 1.048 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.32e-05/1.196, allocations: 11.95 kB / 1.049 GB, free: 6.336 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/1.196, allocations: 153.2 kB / 1.049 GB, free: 6.141 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.852e-05/1.196, allocations: 26.27 kB / 1.049 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/1.196, allocations: 16.48 kB / 1.049 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001939/1.196, allocations: 93.22 kB / 1.049 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/1.196, allocations: 34.56 kB / 1.049 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/1.196, allocations: 6.625 kB / 1.049 GB, free: 5.938 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0001716/1.196, allocations: 41.06 kB / 1.049 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.196, allocations: 51.41 kB / 1.049 GB, free: 5.832 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/1.196, allocations: 93.03 kB / 1.049 GB, free: 5.734 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/1.197, allocations: 29.27 kB / 1.049 GB, free: 5.703 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/1.197, allocations: 80.14 kB / 1.049 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/1.197, allocations: 15.8 kB / 1.049 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/1.197, allocations: 0 / 1.049 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.197, allocations: 318.8 kB / 1.049 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/1.197, allocations: 7.625 kB / 1.049 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.186e-05/1.197, allocations: 3.938 kB / 1.049 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/1.197, allocations: 4 kB / 1.049 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.197, allocations: 0 / 1.049 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.492e-05/1.197, allocations: 45.19 kB / 1.049 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.197, allocations: 4 kB / 1.049 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.197, allocations: 0 / 1.049 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.197, allocations: 4 kB / 1.049 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/1.197, allocations: 11.98 kB / 1.049 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/1.197, allocations: 0 / 1.049 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/1.197, allocations: 0 / 1.049 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/1.197, allocations: 7.938 kB / 1.05 GB, free: 5.199 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 9.03e-05/1.197, allocations: 108.8 kB / 1.05 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/1.197, allocations: 0 / 1.05 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/1.197, allocations: 52.75 kB / 1.05 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.197, allocations: 3.938 kB / 1.05 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.197, allocations: 0 / 1.05 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.197, allocations: 4 kB / 1.05 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/1.198, allocations: 160.8 kB / 1.05 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.198, allocations: 0 / 1.05 GB, free: 4.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/1.198, allocations: 7.984 kB / 1.05 GB, free: 4.812 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/1.198, allocations: 4 kB / 1.05 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/1.198, allocations: 4 kB / 1.05 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.198, allocations: 0 / 1.05 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.198, allocations: 0 / 1.05 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/1.198, allocations: 80.2 kB / 1.05 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/1.198, allocations: 77.11 kB / 1.05 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/1.198, allocations: 4 kB / 1.05 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.999e-05/1.198, allocations: 3.984 kB / 1.05 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/1.198, allocations: 0 / 1.05 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/1.198, allocations: 4 kB / 1.05 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.576e-05/1.198, allocations: 79.08 kB / 1.05 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/1.198, allocations: 0 / 1.05 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0001809/1.198, allocations: 15.94 kB / 1.05 GB, free: 4.52 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.0003261/1.199, allocations: 140 kB / 1.05 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.874e-05/1.199, allocations: 15.98 kB / 1.05 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.199, allocations: 0 / 1.05 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/1.199, allocations: 15.36 kB / 1.05 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/1.199, allocations: 9.828 kB / 1.05 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/1.199, allocations: 57.5 kB / 1.05 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/1.2, allocations: 0.6809 MB / 1.051 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 4.252e-05/1.2, allocations: 7.938 kB / 1.051 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/1.2, allocations: 11.44 kB / 1.051 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of SimCode: time 4.31e-07/1.2, allocations: 0 / 1.051 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of Templates: time 0.003739/1.203, allocations: 1.017 MB / 1.052 GB, free: 2.547 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