Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00701/0.00701, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.00131/0.001311, allocations: 191.2 kB / 16.67 MB, free: 5.969 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.89 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3628, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002898/0.3658, allocations: 1.292 MB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3672, allocations: 0.8221 MB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.3673, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.3673, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.571e-05/0.3674, allocations: 3.938 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.3681, allocations: 139.3 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.448e-05/0.3682, allocations: 23.92 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.3683, allocations: 4 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.3683, allocations: 15.92 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.3684, allocations: 7.984 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.3684, allocations: 4 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003815/0.3688, allocations: 163.8 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.3688, allocations: 15.88 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.3689, allocations: 15.92 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.3692, allocations: 111.8 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3692, allocations: 4 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3692, allocations: 0 / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.3692, allocations: 0 / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005253/0.3698, allocations: 363.3 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3698, allocations: 12.56 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.3699, allocations: 0.9375 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.37, allocations: 168.4 kB / 1.211 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.54e-05/0.3701, allocations: 34.27 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.3701, allocations: 4.375 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3703, allocations: 46.19 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3703, allocations: 3.938 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3703, allocations: 3.984 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3703, allocations: 0 / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.947e-05/0.3704, allocations: 15.98 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.3706, allocations: 157.7 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.3709, allocations: 46.61 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/0.3709, allocations: 20.94 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003096/0.3713, allocations: 178.2 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3713, allocations: 34.56 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3713, allocations: 7.938 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003103/0.3716, allocations: 73.52 kB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.3717, allocations: 51.41 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.3718, allocations: 97.84 kB / 1.212 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3718, allocations: 25.7 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.3718, allocations: 80.14 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.3719, allocations: 11.91 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.3719, allocations: 13.72 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.372, allocations: 318.8 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.3721, allocations: 7.984 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.484e-05/0.3721, allocations: 15.98 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.482e-05/0.3722, allocations: 24.8 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3723, allocations: 0 / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001475/0.3724, allocations: 61.58 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3724, allocations: 19.88 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3724, allocations: 0 / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3725, allocations: 0 / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.3725, allocations: 12 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3725, allocations: 0 / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.3726, allocations: 7.922 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3726, allocations: 0 / 1.212 GB, free: 4.879 MB / 0.9669 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 (4): * Single equations (assignments): 4 * 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.592e-05/0.3727, allocations: 109.8 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.3727, allocations: 11.88 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.3729, allocations: 69.69 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3729, allocations: 0 / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3729, allocations: 0 / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3729, allocations: 0 / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.373, allocations: 161.6 kB / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.373, allocations: 0 / 1.212 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.3731, allocations: 8.031 kB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.3731, allocations: 7.922 kB / 1.212 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3731, allocations: 4 kB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3731, allocations: 0 / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3731, allocations: 4 kB / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.3733, allocations: 88.95 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.3734, allocations: 77.11 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.3734, allocations: 7.938 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.631e-05/0.3735, allocations: 7.984 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.3735, allocations: 0 / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3735, allocations: 4 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.3735, allocations: 79.28 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3735, allocations: 0 / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002411/0.3738, allocations: 43.92 kB / 1.213 GB, free: 4.105 MB / 0.9669 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 (4): * Single equations (assignments): 4 * 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.0002598/0.3741, allocations: 131.2 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.3742, allocations: 35.84 kB / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3742, allocations: 0 / 1.213 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.3743, allocations: 16 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.3745, allocations: 9.391 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.3749, allocations: 131.1 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3752, allocations: 0.6807 MB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.352e-05/0.3752, allocations: 11.84 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.3752, allocations: 11.44 kB / 1.214 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3752, allocations: 3.938 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of Templates: time 0.003878/0.3791, allocations: 1.069 MB / 1.215 GB, free: 1.953 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches