Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002371/0.002371, allocations: 190.1 kB / 16.25 MB, free: 6.621 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.427/1.427, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.865/2.865, allocations: 472.6 MB / 0.7448 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.2 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.307, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002502/0.3095, allocations: 1.331 MB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1431/0.4526, allocations: 130.1 MB / 1.196 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.4527, allocations: 4 kB / 1.196 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.4528, allocations: 4 kB / 1.196 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.4528, allocations: 3.938 kB / 1.196 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.4532, allocations: 51.8 kB / 1.196 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.672e-05/0.4533, allocations: 23.92 kB / 1.196 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.4534, allocations: 0 / 1.196 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.4534, allocations: 15.91 kB / 1.196 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.4535, allocations: 11.83 kB / 1.196 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.4535, allocations: 4 kB / 1.196 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-05/0.4536, allocations: 7.984 kB / 1.196 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.4536, allocations: 8 kB / 1.196 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.4536, allocations: 11.94 kB / 1.196 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 9.571e-05/0.4537, allocations: 24.2 kB / 1.196 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4537, allocations: 0 / 1.196 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4537, allocations: 0 / 1.196 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.4538, allocations: 0 / 1.196 GB, free: 6.723 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003938/0.4541, allocations: 331.5 kB / 1.197 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4542, allocations: 12.02 kB / 1.197 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.4542, allocations: 8.844 kB / 1.197 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.4544, allocations: 164.3 kB / 1.197 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.4544, allocations: 34.27 kB / 1.197 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.4545, allocations: 384 / 1.197 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.4546, allocations: 46.19 kB / 1.197 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4546, allocations: 3.938 kB / 1.197 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4546, allocations: 0 / 1.197 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.4546, allocations: 0 / 1.197 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.963e-05/0.4547, allocations: 11.98 kB / 1.197 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.4549, allocations: 161.6 kB / 1.197 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.644e-05/0.455, allocations: 34.61 kB / 1.197 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.4551, allocations: 12.86 kB / 1.197 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001807/0.4553, allocations: 89.19 kB / 1.197 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.4553, allocations: 38.5 kB / 1.197 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4553, allocations: 0 / 1.197 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002496/0.4556, allocations: 61.61 kB / 1.197 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.4556, allocations: 51.41 kB / 1.197 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.4557, allocations: 97.86 kB / 1.197 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.4557, allocations: 25.7 kB / 1.197 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.4557, allocations: 80.14 kB / 1.197 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.4558, allocations: 15.8 kB / 1.197 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.4558, allocations: 21.66 kB / 1.197 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4559, allocations: 314.8 kB / 1.198 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.602e-05/0.456, allocations: 7.984 kB / 1.198 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.631e-05/0.456, allocations: 8 kB / 1.198 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.287e-05/0.4561, allocations: 28.78 kB / 1.198 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4561, allocations: 0 / 1.198 GB, free: 4.852 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001123/0.4562, allocations: 45.69 kB / 1.198 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4563, allocations: 7.938 kB / 1.198 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4563, allocations: 4 kB / 1.198 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.4563, allocations: 4 kB / 1.198 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.455e-05/0.4563, allocations: 7.984 kB / 1.198 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4564, allocations: 0 / 1.198 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.4564, allocations: 3.938 kB / 1.198 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.4564, allocations: 7.984 kB / 1.198 GB, free: 4.766 MB / 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 6.47e-05/0.4565, allocations: 107.2 kB / 1.198 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.4565, allocations: 7.938 kB / 1.198 GB, free: 4.645 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.4566, allocations: 69.11 kB / 1.198 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4567, allocations: 0 / 1.198 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4567, allocations: 0 / 1.198 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4567, allocations: 0 / 1.198 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.186e-05/0.4568, allocations: 153.7 kB / 1.198 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4568, allocations: 0.5625 kB / 1.198 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.4568, allocations: 8 kB / 1.198 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4568, allocations: 3.938 kB / 1.198 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4568, allocations: 3.984 kB / 1.198 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4568, allocations: 0 / 1.198 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4568, allocations: 0 / 1.198 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.457, allocations: 84.95 kB / 1.198 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.457, allocations: 81.09 kB / 1.198 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.4571, allocations: 3.938 kB / 1.198 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.041e-05/0.4571, allocations: 8 kB / 1.198 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.4571, allocations: 0 / 1.198 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.4571, allocations: 0 / 1.198 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.4572, allocations: 83.27 kB / 1.198 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4572, allocations: 4 kB / 1.198 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001838/0.4574, allocations: 11.94 kB / 1.198 GB, free: 4.043 MB / 0.9512 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.0001393/0.4575, allocations: 111.2 kB / 1.199 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.4577, allocations: 23.92 kB / 1.199 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4577, allocations: 0 / 1.199 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.531e-05/0.4577, allocations: 12 kB / 1.199 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.458, allocations: 18.55 kB / 1.199 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.4582, allocations: 123.7 kB / 1.199 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.4585, allocations: 0.6768 MB / 1.199 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.224e-05/0.4585, allocations: 4 kB / 1.199 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.4585, allocations: 11.44 kB / 1.199 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of SimCode: time 1.573e-06/0.4585, allocations: 0 / 1.199 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of Templates: time 0.002576/0.4611, allocations: 0.4936 MB / 1.2 GB, free: 2.512 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches