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.001439/0.001439, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.551/1.551, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.45 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3126, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002265/0.3149, allocations: 1.278 MB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1408/0.4557, allocations: 132 MB / 1.198 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.4558, allocations: 4 kB / 1.198 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.4559, allocations: 0 / 1.198 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.825e-05/0.4559, allocations: 7.922 kB / 1.198 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.4563, allocations: 59.67 kB / 1.198 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.4563, allocations: 27.86 kB / 1.198 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.632e-05/0.4564, allocations: 4 kB / 1.198 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.4564, allocations: 4 kB / 1.198 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.4565, allocations: 11.92 kB / 1.198 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.4565, allocations: 0 / 1.198 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.798e-05/0.4566, allocations: 12 kB / 1.198 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.4566, allocations: 11.97 kB / 1.198 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.4566, allocations: 11.94 kB / 1.198 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 8.639e-05/0.4567, allocations: 20.2 kB / 1.199 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4568, allocations: 4 kB / 1.199 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4568, allocations: 0 / 1.199 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.4568, allocations: 0 / 1.199 GB, free: 4.414 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.0003516/0.4571, allocations: 331.5 kB / 1.199 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.4572, allocations: 8.031 kB / 1.199 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.4572, allocations: 4.844 kB / 1.199 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.4573, allocations: 180.3 kB / 1.199 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.4574, allocations: 30.2 kB / 1.199 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.4574, allocations: 4.375 kB / 1.199 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.4575, allocations: 34.25 kB / 1.199 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.4575, allocations: 3.938 kB / 1.199 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.4575, allocations: 4 kB / 1.199 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.4576, allocations: 0 / 1.199 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.934e-05/0.4576, allocations: 11.98 kB / 1.199 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.4578, allocations: 157.7 kB / 1.199 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.876e-05/0.4579, allocations: 34.52 kB / 1.199 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.4579, allocations: 12.94 kB / 1.199 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.4581, allocations: 93.09 kB / 1.199 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.4581, allocations: 30.56 kB / 1.199 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.4581, allocations: 4 kB / 1.199 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002089/0.4584, allocations: 61.61 kB / 1.199 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.4584, allocations: 51.41 kB / 1.2 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.4585, allocations: 97.86 kB / 1.2 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.4585, allocations: 25.7 kB / 1.2 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.4585, allocations: 80.14 kB / 1.2 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.4585, allocations: 11.75 kB / 1.2 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.4586, allocations: 25.7 kB / 1.2 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4587, allocations: 310.8 kB / 1.2 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.4587, allocations: 4 kB / 1.2 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.782e-05/0.4588, allocations: 11.98 kB / 1.2 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.413e-05/0.4589, allocations: 21.31 kB / 1.2 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4589, allocations: 0 / 1.2 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001192/0.459, allocations: 57.61 kB / 1.2 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.459, allocations: 11.94 kB / 1.2 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.459, allocations: 4 kB / 1.2 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.4591, allocations: 0 / 1.2 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.4591, allocations: 7.938 kB / 1.2 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4591, allocations: 7.984 kB / 1.2 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.4592, allocations: 0 / 1.2 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.4592, allocations: 7.938 kB / 1.2 GB, free: 2.457 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.423e-05/0.4593, allocations: 110.4 kB / 1.2 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.4593, allocations: 3.938 kB / 1.2 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.4594, allocations: 57.17 kB / 1.2 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4595, allocations: 4 kB / 1.2 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4595, allocations: 0 / 1.2 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.4595, allocations: 0 / 1.2 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.566e-05/0.4596, allocations: 157.7 kB / 1.2 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4596, allocations: 0 / 1.2 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.4596, allocations: 4 kB / 1.2 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4596, allocations: 7.875 kB / 1.201 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.4596, allocations: 0 / 1.201 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4596, allocations: 0 / 1.201 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4597, allocations: 8 kB / 1.201 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.4598, allocations: 77.02 kB / 1.201 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.4599, allocations: 81.11 kB / 1.201 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.4599, allocations: 3.938 kB / 1.201 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.091e-05/0.4599, allocations: 3.984 kB / 1.201 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.46, allocations: 8 kB / 1.201 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.46, allocations: 0 / 1.201 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.183e-05/0.46, allocations: 83.28 kB / 1.201 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.46, allocations: 0 / 1.201 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001957/0.4602, allocations: 15.94 kB / 1.201 GB, free: 1.738 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.0001294/0.4604, allocations: 107.2 kB / 1.201 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.4605, allocations: 27.91 kB / 1.201 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4605, allocations: 0 / 1.201 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.4606, allocations: 8 kB / 1.201 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.4608, allocations: 13.56 kB / 1.201 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.4611, allocations: 127.6 kB / 1.201 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.4613, allocations: 0.6729 MB / 1.202 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.08e-05/0.4614, allocations: 11.98 kB / 1.202 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.4614, allocations: 11.42 kB / 1.202 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.4614, allocations: 3.938 kB / 1.202 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of Templates: time 0.00255/0.464, allocations: 0.5213 MB / 1.202 GB, free: 184 kB / 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