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.0008698/0.0008698, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001466/0.001466, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.907/0.907, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 2.279/2.279, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.395e-05, allocations: 8.219 kB / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001694/0.001707, allocations: 1.549 MB / 0.8401 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008799/0.002587, allocations: 0.8175 MB / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.002613, allocations: 0 / 0.8409 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.002637, allocations: 7.938 kB / 0.8409 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.002679, allocations: 7.875 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.00301, allocations: 139.2 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.003076, allocations: 51.78 kB / 0.8411 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.27e-05/0.003148, allocations: 15.98 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.0032, allocations: 23.98 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.00324, allocations: 27.89 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.003252, allocations: 4 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.003464, allocations: 159.7 kB / 0.8413 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.00348, allocations: 11.94 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.003497, allocations: 11.98 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.003678, allocations: 167.4 kB / 0.8415 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.262e-06/0.003679, allocations: 0 / 0.8415 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.41e-07/0.00368, allocations: 0 / 0.8415 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.565e-06/0.003682, allocations: 0 / 0.8415 GB, free: 11.27 MB / 0.8073 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.0002786/0.003961, allocations: 284.2 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.00399, allocations: 8.625 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.004015, allocations: 8.922 kB / 0.8418 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.88e-05/0.004094, allocations: 121.6 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.004103, allocations: 4.375 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.004113, allocations: 4.375 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.004214, allocations: 66.94 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.00422, allocations: 4.172 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.004227, allocations: 4.375 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.004231, allocations: 384 / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.081e-05/0.004252, allocations: 19.92 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.004437, allocations: 164.2 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.004484, allocations: 30.55 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.403e-05/0.004498, allocations: 4.859 kB / 0.8422 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.502e-05/0.004583, allocations: 16.08 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.004599, allocations: 30.56 kB / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.0046, allocations: 0 / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.2e-05/0.004692, allocations: 53.56 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.004718, allocations: 51.41 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.002e-05/0.004768, allocations: 118.8 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.004776, allocations: 25.7 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.004802, allocations: 92.06 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.004818, allocations: 11.89 kB / 0.8425 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.00484, allocations: 17.72 kB / 0.8426 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.004901, allocations: 314.8 kB / 0.8429 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-06/0.004911, allocations: 4 kB / 0.8429 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-06/0.004919, allocations: 0 / 0.8429 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.004944, allocations: 20.78 kB / 0.8429 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004945, allocations: 3.938 kB / 0.8429 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.995e-05/0.004985, allocations: 41.69 kB / 0.8429 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.004995, allocations: 8 kB / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.005002, allocations: 3.938 kB / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.005015, allocations: 0 / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.952e-05/0.005064, allocations: 11.98 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.005067, allocations: 0 / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.005087, allocations: 7.984 kB / 0.843 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.005092, allocations: 0 / 0.843 GB, free: 9.582 MB / 0.8073 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 4.552e-05/0.005137, allocations: 113.8 kB / 0.8431 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.005149, allocations: 0 / 0.8431 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.369e-05/0.005213, allocations: 61.55 kB / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005214, allocations: 0 / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.00522, allocations: 8 kB / 0.8431 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.005222, allocations: 0 / 0.8431 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.649e-05/0.005298, allocations: 73.88 kB / 0.8432 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005299, allocations: 0 / 0.8432 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.005322, allocations: 8 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.005323, allocations: 0 / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-06/0.005326, allocations: 0 / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005327, allocations: 0 / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.00533, allocations: 7.922 kB / 0.8432 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.115e-05/0.005391, allocations: 139.9 kB / 0.8433 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-06/0.005397, allocations: 7.953 kB / 0.8434 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.005405, allocations: 48 / 0.8434 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/0.005441, allocations: 11.97 kB / 0.8434 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.00547, allocations: 7.938 kB / 0.8434 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.005471, allocations: 0 / 0.8434 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.248e-05/0.005484, allocations: 17.22 kB / 0.8434 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005484, allocations: 0 / 0.8434 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000142/0.005626, allocations: 35.88 kB / 0.8434 GB, free: 9.047 MB / 0.8073 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.0001325/0.005758, allocations: 120.2 kB / 0.8435 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.234e-05/0.005811, allocations: 16.8 kB / 0.8436 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.005813, allocations: 4 kB / 0.8436 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.005829, allocations: 12.84 kB / 0.8436 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.00595, allocations: 12.22 kB / 0.8436 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.006147, allocations: 152.5 kB / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.689e-05/0.006173, allocations: 55.34 kB / 0.8438 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.00619, allocations: 4 kB / 0.8438 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.006233, allocations: 55.38 kB / 0.8438 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.006233, allocations: 0 / 0.8438 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of Templates: time 0.002557/0.00879, allocations: 1.477 MB / 0.8453 GB, free: 7.098 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.806072375737131]