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/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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 105.8 kB / 16.41 MB, free: 6.41 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.001106/0.001106, allocations: 189.7 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 55.91 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255/1.256, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002638/1.259, allocations: 1.494 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1876/1.447, allocations: 132.1 MB / 1.219 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.108e-05/1.447, allocations: 5.281 kB / 1.219 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/1.447, allocations: 7.875 kB / 1.219 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/1.447, allocations: 5.438 kB / 1.219 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000295/1.447, allocations: 68.19 kB / 1.219 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.295e-05/1.447, allocations: 49.53 kB / 1.219 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.037e-05/1.447, allocations: 22.61 kB / 1.219 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/1.447, allocations: 24.25 kB / 1.219 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.95e-05/1.447, allocations: 26.47 kB / 1.219 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/1.447, allocations: 4.562 kB / 1.219 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.224e-05/1.447, allocations: 17.95 kB / 1.219 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/1.447, allocations: 14.25 kB / 1.219 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.836e-05/1.447, allocations: 21.2 kB / 1.219 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/1.448, allocations: 58.45 kB / 1.219 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/1.448, allocations: 0 / 1.219 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.51e-07/1.448, allocations: 5.125 kB / 1.219 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.176e-06/1.448, allocations: 0 / 1.219 GB, free: 2.117 MB / 0.9512 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.0004169/1.448, allocations: 372.7 kB / 1.22 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.578e-05/1.448, allocations: 9.25 kB / 1.22 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/1.448, allocations: 7.375 kB / 1.22 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/1.448, allocations: 175.7 kB / 1.22 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/1.448, allocations: 9.625 kB / 1.22 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/1.448, allocations: 2.875 kB / 1.22 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/1.448, allocations: 81.44 kB / 1.22 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.448, allocations: 192 / 1.22 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.448, allocations: 5.062 kB / 1.22 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/1.449, allocations: 1.125 kB / 1.22 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/1.449, allocations: 65.17 kB / 1.22 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/1.449, allocations: 291.2 kB / 1.22 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/1.449, allocations: 57.19 kB / 1.22 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/1.45, allocations: 35.73 kB / 1.22 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/1.45, allocations: 93.72 kB / 1.22 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/1.45, allocations: 34.56 kB / 1.221 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/1.45, allocations: 1.219 kB / 1.221 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005139/1.45, allocations: 131.1 kB / 1.221 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/1.45, allocations: 55.34 kB / 1.221 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.812e-05/1.45, allocations: 120.8 kB / 1.221 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/1.45, allocations: 25.7 kB / 1.221 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/1.45, allocations: 90.94 kB / 1.221 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/1.451, allocations: 9.25 kB / 1.221 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/1.451, allocations: 16.12 kB / 1.221 GB, free: 500 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.451, allocations: 320.2 kB / 1.221 GB, free: 172 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/1.451, allocations: 29.28 kB / 1.221 GB, free: 160 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/1.451, allocations: 38.11 kB / 1.221 GB, free: 140 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/1.451, allocations: 63.17 kB / 1.221 GB, free: 108 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.451, allocations: 0 / 1.221 GB, free: 108 kB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003164/1.452, allocations: 106.2 kB / 1.221 GB, free: 36 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/1.452, allocations: 5.344 kB / 1.221 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/1.452, allocations: 0.9375 kB / 1.221 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/1.452, allocations: 0 / 1.221 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/1.452, allocations: 14.98 kB / 1.222 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/1.452, allocations: 0 / 1.222 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/1.452, allocations: 19.64 kB / 1.222 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/1.452, allocations: 9 kB / 1.222 GB, free: 12 kB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/1.452, allocations: 120.1 kB / 1.222 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/1.452, allocations: 6.531 kB / 1.222 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003512/1.452, allocations: 105.4 kB / 1.222 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.452, allocations: 0 / 1.222 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/1.452, allocations: 0 / 1.222 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/1.452, allocations: 5.5 kB / 1.222 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/1.453, allocations: 177.8 kB / 1.222 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.453, allocations: 0 / 1.222 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-05/1.453, allocations: 14.27 kB / 1.222 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.453, allocations: 1.125 kB / 1.222 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/1.453, allocations: 1.094 kB / 1.222 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.453, allocations: 0 / 1.222 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.453, allocations: 0 / 1.222 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/1.453, allocations: 205.2 kB / 1.222 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/1.453, allocations: 79.33 kB / 1.222 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/1.453, allocations: 4 kB / 1.222 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/1.453, allocations: 10.86 kB / 1.222 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/1.453, allocations: 10.61 kB / 1.222 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/1.453, allocations: 5.406 kB / 1.222 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.169e-05/1.453, allocations: 91.2 kB / 1.222 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.453, allocations: 1.219 kB / 1.222 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002229/1.454, allocations: 11.78 kB / 1.222 GB, free: 15.21 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001681/1.454, allocations: 112.4 kB / 1.222 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003164/1.454, allocations: 79.72 kB / 1.223 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/1.454, allocations: 0 / 1.223 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/1.454, allocations: 33.22 kB / 1.223 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/1.454, allocations: 13.45 kB / 1.223 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/1.455, allocations: 182.3 kB / 1.223 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/1.455, allocations: 0.6891 MB / 1.223 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/1.455, allocations: 10.88 kB / 1.223 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of SimCode: time 1.693e-06/1.455, allocations: 0 / 1.223 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of Templates: time 0.002376/1.457, allocations: 0.9424 MB / 1.224 GB, free: 13.7 MB / 0.9669 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches