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.007945/0.007945, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001804/0.001804, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 64.11 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3534, allocations: 157.4 MB / 1.208 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002673/0.3561, allocations: 1.501 MB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8935/1.25, allocations: 132.1 MB / 1.338 GB, free: 9.566 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/1.25, allocations: 1.094 kB / 1.338 GB, free: 9.566 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.278e-05/1.25, allocations: 6.984 kB / 1.338 GB, free: 9.562 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.727e-05/1.25, allocations: 15.47 kB / 1.338 GB, free: 9.551 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/1.25, allocations: 59.64 kB / 1.338 GB, free: 9.523 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/1.251, allocations: 60.67 kB / 1.338 GB, free: 9.492 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/1.251, allocations: 23.81 kB / 1.338 GB, free: 9.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/1.251, allocations: 16.14 kB / 1.338 GB, free: 9.477 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/1.251, allocations: 28.36 kB / 1.338 GB, free: 9.461 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/1.251, allocations: 5.188 kB / 1.338 GB, free: 9.461 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/1.251, allocations: 16.59 kB / 1.338 GB, free: 9.457 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/1.251, allocations: 7.641 kB / 1.338 GB, free: 9.453 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/1.251, allocations: 24.77 kB / 1.338 GB, free: 9.438 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/1.251, allocations: 57.27 kB / 1.338 GB, free: 9.418 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.251, allocations: 7.938 kB / 1.338 GB, free: 9.41 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.194e-06/1.251, allocations: 4 kB / 1.338 GB, free: 9.406 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.251, allocations: 0 / 1.338 GB, free: 9.406 MB / 1.045 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.0005832/1.252, allocations: 376.8 kB / 1.339 GB, free: 9.039 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/1.252, allocations: 10.52 kB / 1.339 GB, free: 9.039 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/1.252, allocations: 4.219 kB / 1.339 GB, free: 9.039 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/1.252, allocations: 169.7 kB / 1.339 GB, free: 8.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.252, allocations: 6.375 kB / 1.339 GB, free: 8.836 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/1.252, allocations: 10.48 kB / 1.339 GB, free: 8.828 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/1.252, allocations: 72.28 kB / 1.339 GB, free: 8.789 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/1.252, allocations: 192 / 1.339 GB, free: 8.789 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/1.252, allocations: 4.594 kB / 1.339 GB, free: 8.785 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.252, allocations: 1.188 kB / 1.339 GB, free: 8.785 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/1.253, allocations: 69.91 kB / 1.339 GB, free: 8.773 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/1.253, allocations: 294.6 kB / 1.339 GB, free: 8.473 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/1.253, allocations: 55.39 kB / 1.339 GB, free: 8.441 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/1.253, allocations: 41.03 kB / 1.34 GB, free: 8.426 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/1.254, allocations: 101.3 kB / 1.34 GB, free: 8.32 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/1.254, allocations: 32.31 kB / 1.34 GB, free: 8.281 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/1.254, allocations: 0 / 1.34 GB, free: 8.281 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005907/1.254, allocations: 128.5 kB / 1.34 GB, free: 8.234 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/1.254, allocations: 53.11 kB / 1.34 GB, free: 8.172 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/1.254, allocations: 121.7 kB / 1.34 GB, free: 8.062 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/1.255, allocations: 29.64 kB / 1.34 GB, free: 8.027 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/1.255, allocations: 91.64 kB / 1.34 GB, free: 7.938 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/1.255, allocations: 9.797 kB / 1.34 GB, free: 7.93 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/1.255, allocations: 13.97 kB / 1.34 GB, free: 7.914 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/1.255, allocations: 322 kB / 1.34 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/1.255, allocations: 34.84 kB / 1.34 GB, free: 7.586 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/1.255, allocations: 36.34 kB / 1.34 GB, free: 7.578 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/1.255, allocations: 66.59 kB / 1.341 GB, free: 7.562 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.255, allocations: 4.562 kB / 1.341 GB, free: 7.559 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003266/1.256, allocations: 95.42 kB / 1.341 GB, free: 7.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.256, allocations: 5.438 kB / 1.341 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.256, allocations: 0 / 1.341 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.256, allocations: 0.5625 kB / 1.341 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/1.256, allocations: 15.89 kB / 1.341 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.256, allocations: 4.656 kB / 1.341 GB, free: 7.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.527e-05/1.256, allocations: 19.86 kB / 1.341 GB, free: 7.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/1.256, allocations: 1.156 kB / 1.341 GB, free: 7.508 MB / 1.045 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 7.953e-05/1.256, allocations: 120.6 kB / 1.341 GB, free: 7.383 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/1.256, allocations: 3.312 kB / 1.341 GB, free: 7.383 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/1.256, allocations: 111.7 kB / 1.341 GB, free: 7.324 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/1.256, allocations: 1.656 kB / 1.341 GB, free: 7.324 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.256, allocations: 0 / 1.341 GB, free: 7.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.257, allocations: 0.6094 kB / 1.341 GB, free: 7.324 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/1.257, allocations: 173.3 kB / 1.341 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.257, allocations: 0.6094 kB / 1.341 GB, free: 7.125 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.73e-05/1.257, allocations: 20.19 kB / 1.341 GB, free: 7.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.257, allocations: 1.688 kB / 1.341 GB, free: 7.121 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/1.257, allocations: 0 / 1.341 GB, free: 7.121 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.257, allocations: 1.125 kB / 1.341 GB, free: 7.121 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.257, allocations: 4.703 kB / 1.341 GB, free: 7.117 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/1.257, allocations: 199.4 kB / 1.341 GB, free: 6.969 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/1.257, allocations: 84.02 kB / 1.341 GB, free: 6.871 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/1.257, allocations: 0.6562 kB / 1.341 GB, free: 6.871 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/1.257, allocations: 15.52 kB / 1.341 GB, free: 6.867 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/1.257, allocations: 4.188 kB / 1.341 GB, free: 6.867 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/1.257, allocations: 1.062 kB / 1.341 GB, free: 6.867 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.215e-05/1.258, allocations: 99.02 kB / 1.341 GB, free: 6.781 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.258, allocations: 1.125 kB / 1.341 GB, free: 6.781 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002297/1.258, allocations: 20.28 kB / 1.341 GB, free: 6.773 MB / 1.045 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.0001603/1.258, allocations: 105.3 kB / 1.342 GB, free: 6.688 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003673/1.258, allocations: 74.34 kB / 1.342 GB, free: 6.672 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.258, allocations: 1.062 kB / 1.342 GB, free: 6.672 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/1.258, allocations: 34.83 kB / 1.342 GB, free: 6.668 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/1.259, allocations: 16.62 kB / 1.342 GB, free: 6.66 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/1.259, allocations: 161.4 kB / 1.342 GB, free: 6.523 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/1.259, allocations: 0.6828 MB / 1.343 GB, free: 5.828 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.722e-05/1.259, allocations: 2.719 kB / 1.343 GB, free: 5.828 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/1.259, allocations: 15 kB / 1.343 GB, free: 5.816 MB / 1.045 GB Notification: Performance of SimCode: time 2.3e-07/1.259, allocations: 0 / 1.343 GB, free: 5.816 MB / 1.045 GB Notification: Performance of Templates: time 0.003894/1.263, allocations: 1.029 MB / 1.344 GB, free: 5.707 MB / 1.045 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/jenkins/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