Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002266/0.002266, allocations: 219.1 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.286/3.286, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 65.86 kB / 1.178 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3508, allocations: 180.2 MB / 1.354 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003684/0.3545, allocations: 1.523 MB / 1.356 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3561, allocations: 0.8221 MB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.3561, allocations: 4 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.3561, allocations: 3.938 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-05/0.3562, allocations: 11.86 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.3567, allocations: 131.5 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.3568, allocations: 55.78 kB / 1.357 GB, free: 5.516 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3569, allocations: 15.92 kB / 1.357 GB, free: 5.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.758e-05/0.357, allocations: 19.92 kB / 1.357 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.357, allocations: 23.92 kB / 1.357 GB, free: 5.457 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.357, allocations: 7.938 kB / 1.357 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003606/0.3574, allocations: 179.7 kB / 1.357 GB, free: 5.273 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.3574, allocations: 7.984 kB / 1.357 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.3575, allocations: 23.88 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.3577, allocations: 151.5 kB / 1.357 GB, free: 5.094 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3577, allocations: 0 / 1.357 GB, free: 5.094 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3577, allocations: 4 kB / 1.357 GB, free: 5.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3578, allocations: 0 / 1.357 GB, free: 5.09 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.0006056/0.3584, allocations: 321.8 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3584, allocations: 12.03 kB / 1.357 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.3584, allocations: 8.875 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3586, allocations: 110.5 kB / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3586, allocations: 12.31 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3586, allocations: 4.375 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.3589, allocations: 74.2 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3589, allocations: 192 / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3589, allocations: 7.922 kB / 1.357 GB, free: 4.488 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.3589, allocations: 7.984 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.3592, allocations: 63.94 kB / 1.358 GB, free: 4.418 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.3597, allocations: 263.7 kB / 1.358 GB, free: 4.117 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.3599, allocations: 54.53 kB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.36, allocations: 40.92 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.3602, allocations: 15.98 kB / 1.358 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.3602, allocations: 30.56 kB / 1.358 GB, free: 3.957 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3602, allocations: 0 / 1.358 GB, free: 3.957 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005347/0.3607, allocations: 137.5 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.3608, allocations: 55.41 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3609, allocations: 117.8 kB / 1.358 GB, free: 3.625 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3609, allocations: 25.7 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.361, allocations: 96.08 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.361, allocations: 3.953 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.3611, allocations: 17.72 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002393/0.3613, allocations: 326.8 kB / 1.359 GB, free: 3.141 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.3614, allocations: 27.97 kB / 1.359 GB, free: 3.113 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.3616, allocations: 31.95 kB / 1.359 GB, free: 3.082 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.3618, allocations: 68.8 kB / 1.359 GB, free: 3.012 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3618, allocations: 0 / 1.359 GB, free: 3.012 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003307/0.3622, allocations: 109.5 kB / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3622, allocations: 4 kB / 1.359 GB, free: 2.895 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3622, allocations: 4 kB / 1.359 GB, free: 2.891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3622, allocations: 4 kB / 1.359 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.3623, allocations: 15.98 kB / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3623, allocations: 0 / 1.359 GB, free: 2.871 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/0.3624, allocations: 11.98 kB / 1.359 GB, free: 2.859 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.3624, allocations: 0 / 1.359 GB, free: 2.859 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 0.0001039/0.3625, allocations: 117.7 kB / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.3625, allocations: 11.98 kB / 1.359 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.3629, allocations: 109.5 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3629, allocations: 0 / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3629, allocations: 0 / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3629, allocations: 0 / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.3631, allocations: 144.6 kB / 1.359 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3631, allocations: 3.984 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/0.3632, allocations: 19.98 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3632, allocations: 0 / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3632, allocations: 4.375 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3632, allocations: 0 / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.3632, allocations: 4 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.3636, allocations: 195.4 kB / 1.36 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.3636, allocations: 7.891 kB / 1.36 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3636, allocations: 15.94 kB / 1.36 GB, free: 2.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.3637, allocations: 7.984 kB / 1.36 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.3637, allocations: 11.92 kB / 1.36 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3638, allocations: 0 / 1.36 GB, free: 2.141 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.3638, allocations: 91.66 kB / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3638, allocations: 0 / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000277/0.3641, allocations: 39.86 kB / 1.36 GB, free: 2.012 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.0002197/0.3643, allocations: 131.2 kB / 1.36 GB, free: 1.875 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.3647, allocations: 71.91 kB / 1.36 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3647, allocations: 0 / 1.36 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3648, allocations: 31.97 kB / 1.36 GB, free: 1.773 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3651, allocations: 31.14 kB / 1.36 GB, free: 1.746 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.3655, allocations: 173.1 kB / 1.36 GB, free: 1.543 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.3659, allocations: 0.6846 MB / 1.361 GB, free: 0.832 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.3659, allocations: 11.44 kB / 1.361 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3659, allocations: 0 / 1.361 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of Templates: time 0.003263/0.3692, allocations: 1.259 MB / 1.362 GB, free: 15.56 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.129416581010446]