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.001011/0.001012, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008245/0.008245, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.509/2.509, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 8.188 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9118/0.9122, allocations: 142.4 MB / 0.955 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001828/0.9141, allocations: 1.213 MB / 0.9562 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1688/1.083, allocations: 128.5 MB / 1.082 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/1.083, allocations: 0 / 1.082 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/1.083, allocations: 3.938 kB / 1.082 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.651e-05/1.083, allocations: 7.938 kB / 1.082 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/1.084, allocations: 59.78 kB / 1.082 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.698e-05/1.084, allocations: 51.84 kB / 1.082 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/1.084, allocations: 18.09 kB / 1.082 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/1.084, allocations: 19.92 kB / 1.082 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/1.084, allocations: 27.8 kB / 1.082 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/1.084, allocations: 4 kB / 1.082 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/1.084, allocations: 8 kB / 1.082 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/1.084, allocations: 7.984 kB / 1.082 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/1.084, allocations: 45.56 kB / 1.082 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/1.084, allocations: 63.8 kB / 1.082 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.084, allocations: 0 / 1.082 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.734e-06/1.084, allocations: 0 / 1.082 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.849e-06/1.084, allocations: 0 / 1.082 GB, free: 13.11 MB / 0.8419 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.0006183/1.085, allocations: 379.3 kB / 1.082 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.085, allocations: 16.02 kB / 1.082 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/1.085, allocations: 4.938 kB / 1.082 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/1.085, allocations: 168.2 kB / 1.083 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/1.085, allocations: 8.312 kB / 1.083 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/1.085, allocations: 384 / 1.083 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/1.086, allocations: 102.1 kB / 1.083 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.086, allocations: 192 / 1.083 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/1.086, allocations: 7.938 kB / 1.083 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.086, allocations: 0 / 1.083 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/1.086, allocations: 87.92 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/1.086, allocations: 284.7 kB / 1.083 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/1.087, allocations: 70.47 kB / 1.083 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/1.087, allocations: 52.91 kB / 1.083 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/1.087, allocations: 85.11 kB / 1.083 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/1.087, allocations: 42.55 kB / 1.083 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/1.087, allocations: 0 / 1.083 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0006139/1.088, allocations: 157.6 kB / 1.083 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/1.088, allocations: 55.34 kB / 1.083 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/1.088, allocations: 121.8 kB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/1.088, allocations: 25.7 kB / 1.084 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6e-05/1.088, allocations: 92.05 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/1.088, allocations: 3.906 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/1.088, allocations: 9.719 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.088, allocations: 326.8 kB / 1.084 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/1.088, allocations: 39.97 kB / 1.084 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/1.089, allocations: 47.95 kB / 1.084 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/1.089, allocations: 88.8 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.089, allocations: 0 / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003581/1.089, allocations: 125.5 kB / 1.084 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.089, allocations: 4 kB / 1.084 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.089, allocations: 4 kB / 1.084 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.089, allocations: 4 kB / 1.084 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/1.089, allocations: 15.98 kB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.089, allocations: 8 kB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.841e-05/1.09, allocations: 23.83 kB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/1.09, allocations: 0 / 1.084 GB, free: 10.45 MB / 0.8419 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 9.725e-05/1.09, allocations: 121.7 kB / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/1.09, allocations: 7.938 kB / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/1.09, allocations: 129.5 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.09, allocations: 0 / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.09, allocations: 4 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.09, allocations: 4.312 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/1.09, allocations: 173.6 kB / 1.085 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.09, allocations: 0 / 1.085 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.575e-05/1.09, allocations: 19.98 kB / 1.085 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.09, allocations: 0 / 1.085 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/1.09, allocations: 4 kB / 1.085 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.09, allocations: 0 / 1.085 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.09, allocations: 0 / 1.085 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/1.091, allocations: 231.3 kB / 1.085 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/1.091, allocations: 81.11 kB / 1.085 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/1.091, allocations: 0 / 1.085 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/1.091, allocations: 15.98 kB / 1.085 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/1.091, allocations: 3.984 kB / 1.085 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/1.091, allocations: 0 / 1.085 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.775e-05/1.091, allocations: 107.6 kB / 1.085 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.854e-06/1.091, allocations: 0 / 1.085 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002277/1.091, allocations: 19.84 kB / 1.085 GB, free: 9.441 MB / 0.8419 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.0001789/1.092, allocations: 103.2 kB / 1.085 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00036/1.092, allocations: 91.92 kB / 1.085 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.092, allocations: 0 / 1.085 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/1.092, allocations: 47.97 kB / 1.086 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/1.093, allocations: 15.92 kB / 1.086 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/1.093, allocations: 190.8 kB / 1.086 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/1.093, allocations: 0.6848 MB / 1.086 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.16e-05/1.093, allocations: 0 / 1.086 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/1.093, allocations: 11.44 kB / 1.086 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/1.093, allocations: 0 / 1.086 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of Templates: time 0.003427/1.097, allocations: 0.8435 MB / 1.087 GB, free: 7.414 MB / 0.8419 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/jenkins/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