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.001371/0.001376, allocations: 102.1 kB / 16.41 MB, free: 6.488 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.001726/0.001726, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.15 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.305/2.305, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161/1.163, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002945/1.166, allocations: 1.486 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.208/1.374, allocations: 132.1 MB / 1.219 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/1.374, allocations: 0.8438 kB / 1.219 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.987e-05/1.374, allocations: 5.125 kB / 1.219 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/1.374, allocations: 17.2 kB / 1.219 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/1.375, allocations: 68 kB / 1.219 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002068/1.375, allocations: 54.12 kB / 1.219 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/1.375, allocations: 18.03 kB / 1.219 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/1.376, allocations: 20.05 kB / 1.219 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.555e-05/1.376, allocations: 26.75 kB / 1.219 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/1.376, allocations: 4.031 kB / 1.219 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/1.376, allocations: 22.92 kB / 1.219 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/1.376, allocations: 8.969 kB / 1.219 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/1.376, allocations: 25.83 kB / 1.219 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/1.376, allocations: 54.91 kB / 1.219 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.376, allocations: 0 / 1.219 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.246e-06/1.376, allocations: 1.625 kB / 1.219 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.376, allocations: 0 / 1.219 GB, free: 2.121 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.0006372/1.377, allocations: 367.5 kB / 1.22 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.377, allocations: 14.34 kB / 1.22 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/1.377, allocations: 11.39 kB / 1.22 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/1.377, allocations: 174.5 kB / 1.22 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/1.377, allocations: 6.438 kB / 1.22 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/1.377, allocations: 2.281 kB / 1.22 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/1.377, allocations: 78.42 kB / 1.22 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/1.377, allocations: 192 / 1.22 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/1.378, allocations: 3.938 kB / 1.22 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.378, allocations: 13.22 kB / 1.22 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/1.378, allocations: 65.23 kB / 1.22 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/1.378, allocations: 280.1 kB / 1.22 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/1.379, allocations: 65.2 kB / 1.22 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/1.379, allocations: 42.97 kB / 1.22 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/1.379, allocations: 85.27 kB / 1.22 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/1.379, allocations: 35.86 kB / 1.221 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/1.379, allocations: 0 / 1.221 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005906/1.38, allocations: 126.8 kB / 1.221 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/1.38, allocations: 52.44 kB / 1.221 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/1.38, allocations: 119.6 kB / 1.221 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/1.38, allocations: 26.83 kB / 1.221 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/1.38, allocations: 89.67 kB / 1.221 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/1.38, allocations: 13.31 kB / 1.221 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.87e-05/1.38, allocations: 13.34 kB / 1.221 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002121/1.38, allocations: 323.9 kB / 1.221 GB, free: 176 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/1.38, allocations: 33.88 kB / 1.221 GB, free: 160 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/1.381, allocations: 34.05 kB / 1.221 GB, free: 144 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/1.381, allocations: 71.06 kB / 1.221 GB, free: 104 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.381, allocations: 4 kB / 1.221 GB, free: 100 kB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003402/1.381, allocations: 94.09 kB / 1.221 GB, free: 40 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.381, allocations: 6.219 kB / 1.221 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.381, allocations: 4 kB / 1.221 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.381, allocations: 0 / 1.221 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/1.381, allocations: 14.33 kB / 1.222 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/1.381, allocations: 5.094 kB / 1.222 GB, free: 28 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.431e-05/1.382, allocations: 15.36 kB / 1.222 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/1.382, allocations: 3.984 kB / 1.222 GB, free: 16 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.0001213/1.382, allocations: 116.9 kB / 1.222 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/1.382, allocations: 10.12 kB / 1.222 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/1.382, allocations: 113.7 kB / 1.222 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.382, allocations: 0 / 1.222 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.382, allocations: 0 / 1.222 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.382, allocations: 1.281 kB / 1.222 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/1.382, allocations: 177.7 kB / 1.222 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.382, allocations: 1.312 kB / 1.222 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.641e-05/1.383, allocations: 18.52 kB / 1.222 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.383, allocations: 0 / 1.222 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/1.383, allocations: 1.188 kB / 1.222 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/1.383, allocations: 3.938 kB / 1.222 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.383, allocations: 0 / 1.222 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/1.383, allocations: 202.1 kB / 1.222 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/1.383, allocations: 86.45 kB / 1.222 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/1.383, allocations: 0.9375 kB / 1.222 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/1.383, allocations: 10.8 kB / 1.222 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/1.383, allocations: 10.33 kB / 1.222 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/1.383, allocations: 0 / 1.222 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001207/1.384, allocations: 92.73 kB / 1.222 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/1.384, allocations: 0 / 1.222 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002719/1.384, allocations: 20.88 kB / 1.222 GB, free: 15.2 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.0001859/1.384, allocations: 109.9 kB / 1.222 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004072/1.384, allocations: 70.33 kB / 1.223 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.384, allocations: 1.219 kB / 1.223 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/1.385, allocations: 36.38 kB / 1.223 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/1.385, allocations: 22.94 kB / 1.223 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/1.385, allocations: 179.8 kB / 1.223 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/1.386, allocations: 0.6808 MB / 1.223 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/1.386, allocations: 14.88 kB / 1.223 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/1.386, allocations: 0 / 1.223 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of Templates: time 0.003146/1.389, allocations: 0.928 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