Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001922/0.001922, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.002346/0.002346, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.27 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3773, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003689/0.381, allocations: 1.485 MB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7518/1.133, allocations: 132.1 MB / 1.195 GB, free: 11.22 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/1.133, allocations: 1.125 kB / 1.195 GB, free: 11.22 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/1.133, allocations: 3.938 kB / 1.195 GB, free: 11.21 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.394e-05/1.133, allocations: 13.2 kB / 1.195 GB, free: 11.2 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/1.133, allocations: 68.66 kB / 1.195 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.753e-05/1.134, allocations: 57.72 kB / 1.195 GB, free: 11.12 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/1.134, allocations: 12.84 kB / 1.195 GB, free: 11.12 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/1.134, allocations: 21.52 kB / 1.195 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/1.134, allocations: 27.12 kB / 1.195 GB, free: 11.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/1.134, allocations: 4.688 kB / 1.195 GB, free: 11.09 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/1.134, allocations: 18.09 kB / 1.195 GB, free: 11.08 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/1.134, allocations: 17.03 kB / 1.195 GB, free: 11.06 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/1.134, allocations: 18.34 kB / 1.195 GB, free: 11.05 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/1.134, allocations: 62.31 kB / 1.195 GB, free: 11.01 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.134, allocations: 0 / 1.195 GB, free: 11.01 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/1.134, allocations: 0 / 1.195 GB, free: 11.01 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.134, allocations: 0 / 1.195 GB, free: 11.01 MB / 0.92 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.0005257/1.135, allocations: 372.4 kB / 1.195 GB, free: 10.62 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/1.135, allocations: 9.438 kB / 1.195 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/1.135, allocations: 7.188 kB / 1.195 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/1.135, allocations: 175.6 kB / 1.195 GB, free: 10.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/1.135, allocations: 5.625 kB / 1.195 GB, free: 10.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/1.135, allocations: 2.656 kB / 1.195 GB, free: 10.41 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/1.135, allocations: 79.78 kB / 1.196 GB, free: 10.35 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/1.135, allocations: 192 / 1.196 GB, free: 10.35 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/1.135, allocations: 3.938 kB / 1.196 GB, free: 10.35 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/1.135, allocations: 1.469 kB / 1.196 GB, free: 10.35 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003047/1.136, allocations: 73.95 kB / 1.196 GB, free: 10.31 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/1.136, allocations: 279.9 kB / 1.196 GB, free: 10.01 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/1.136, allocations: 60.53 kB / 1.196 GB, free: 9.961 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/1.136, allocations: 39.67 kB / 1.196 GB, free: 9.938 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/1.137, allocations: 89.56 kB / 1.196 GB, free: 9.84 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/1.137, allocations: 31.69 kB / 1.196 GB, free: 9.801 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/1.137, allocations: 0 / 1.196 GB, free: 9.801 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005646/1.137, allocations: 134.7 kB / 1.196 GB, free: 9.719 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/1.137, allocations: 56.5 kB / 1.196 GB, free: 9.652 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/1.137, allocations: 112.3 kB / 1.196 GB, free: 9.547 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/1.137, allocations: 25.7 kB / 1.196 GB, free: 9.516 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/1.137, allocations: 98.61 kB / 1.197 GB, free: 9.418 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/1.137, allocations: 13.14 kB / 1.197 GB, free: 9.406 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/1.138, allocations: 16.38 kB / 1.197 GB, free: 9.387 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.138, allocations: 320.8 kB / 1.197 GB, free: 9.066 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/1.138, allocations: 33.48 kB / 1.197 GB, free: 9.051 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/1.138, allocations: 34.11 kB / 1.197 GB, free: 9.035 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/1.138, allocations: 70.78 kB / 1.197 GB, free: 8.996 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/1.138, allocations: 3.688 kB / 1.197 GB, free: 8.996 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003312/1.139, allocations: 94.44 kB / 1.197 GB, free: 8.938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.139, allocations: 5.312 kB / 1.197 GB, free: 8.938 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.139, allocations: 1.344 kB / 1.197 GB, free: 8.938 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/1.139, allocations: 0 / 1.197 GB, free: 8.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/1.139, allocations: 25.72 kB / 1.197 GB, free: 8.922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.139, allocations: 1.125 kB / 1.197 GB, free: 8.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.425e-05/1.139, allocations: 14.48 kB / 1.197 GB, free: 8.914 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/1.139, allocations: 1.062 kB / 1.197 GB, free: 8.914 MB / 0.92 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 8.827e-05/1.139, allocations: 116.5 kB / 1.197 GB, free: 8.793 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/1.139, allocations: 7.188 kB / 1.197 GB, free: 8.789 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/1.139, allocations: 110.3 kB / 1.197 GB, free: 8.711 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/1.139, allocations: 1.094 kB / 1.197 GB, free: 8.711 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.139, allocations: 0 / 1.197 GB, free: 8.711 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.139, allocations: 9.047 kB / 1.197 GB, free: 8.703 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/1.14, allocations: 170.1 kB / 1.198 GB, free: 8.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/1.14, allocations: 0 / 1.198 GB, free: 8.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.872e-05/1.14, allocations: 22.31 kB / 1.198 GB, free: 8.484 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.14, allocations: 5.062 kB / 1.198 GB, free: 8.48 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/1.14, allocations: 0 / 1.198 GB, free: 8.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.14, allocations: 1.312 kB / 1.198 GB, free: 8.48 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.14, allocations: 0 / 1.198 GB, free: 8.48 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/1.14, allocations: 197.3 kB / 1.198 GB, free: 8.312 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/1.14, allocations: 82.89 kB / 1.198 GB, free: 8.215 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/1.14, allocations: 3.984 kB / 1.198 GB, free: 8.211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/1.14, allocations: 11.3 kB / 1.198 GB, free: 8.207 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/1.14, allocations: 6.188 kB / 1.198 GB, free: 8.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/1.14, allocations: 1.094 kB / 1.198 GB, free: 8.203 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.397e-05/1.14, allocations: 98.09 kB / 1.198 GB, free: 8.117 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/1.14, allocations: 0 / 1.198 GB, free: 8.117 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002332/1.141, allocations: 16.38 kB / 1.198 GB, free: 8.113 MB / 0.92 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.000152/1.141, allocations: 114.1 kB / 1.198 GB, free: 8.016 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003547/1.141, allocations: 69.67 kB / 1.198 GB, free: 7.984 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.141, allocations: 1.062 kB / 1.198 GB, free: 7.984 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/1.141, allocations: 36.3 kB / 1.198 GB, free: 7.969 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/1.142, allocations: 19.61 kB / 1.198 GB, free: 7.957 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/1.142, allocations: 183.5 kB / 1.198 GB, free: 7.785 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/1.142, allocations: 0.6806 MB / 1.199 GB, free: 7.086 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/1.142, allocations: 18.67 kB / 1.199 GB, free: 7.074 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/1.142, allocations: 0 / 1.199 GB, free: 7.074 MB / 0.92 GB Notification: Performance of Templates: time 0.002528/1.145, allocations: 0.9445 MB / 1.2 GB, free: 6.594 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches