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.001044/0.001044, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001617/0.001617, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9753/0.9753, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.534/2.534, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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 2.024e-06/2.024e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.595e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002986/0.003012, allocations: 1.588 MB / 0.8402 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.004309, allocations: 0.8214 MB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.004346, allocations: 4 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.004379, allocations: 3.938 kB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.357e-05/0.004442, allocations: 11.86 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.004874, allocations: 131.3 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.00497, allocations: 55.78 kB / 0.8412 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.005055, allocations: 11.98 kB / 0.8412 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.005133, allocations: 27.97 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.854e-05/0.005181, allocations: 19.92 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.005198, allocations: 4 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.005538, allocations: 171.7 kB / 0.8414 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.005557, allocations: 11.92 kB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.005582, allocations: 15.98 kB / 0.8414 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.005854, allocations: 159.4 kB / 0.8416 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.005857, allocations: 4 kB / 0.8416 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005858, allocations: 0 / 0.8416 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.005862, allocations: 4 kB / 0.8416 GB, free: 11.17 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.0003716/0.006233, allocations: 280.2 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.006269, allocations: 8.625 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.0063, allocations: 8.922 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.83e-05/0.006398, allocations: 121.7 kB / 0.842 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.006409, allocations: 4.375 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.006421, allocations: 12.31 kB / 0.842 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.006561, allocations: 70.91 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.00657, allocations: 4.172 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.006578, allocations: 4.375 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.006585, allocations: 4.375 kB / 0.8421 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.994e-05/0.006614, allocations: 7.938 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.006869, allocations: 160.2 kB / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.159e-05/0.00693, allocations: 30.58 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.165e-05/0.006952, allocations: 12.84 kB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.007062, allocations: 16.08 kB / 0.8423 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.007087, allocations: 30.56 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.007088, allocations: 4 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.000142/0.00723, allocations: 49.56 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.007261, allocations: 51.41 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.434e-05/0.007336, allocations: 114.7 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.007347, allocations: 25.7 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.007386, allocations: 88.08 kB / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.007408, allocations: 15.89 kB / 0.8426 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.007442, allocations: 17.7 kB / 0.8427 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.007535, allocations: 310.8 kB / 0.843 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.00755, allocations: 4 kB / 0.843 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.007562, allocations: 0 / 0.843 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.007594, allocations: 20.84 kB / 0.843 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007596, allocations: 0 / 0.843 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.34e-05/0.007669, allocations: 49.56 kB / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.00768, allocations: 4 kB / 0.843 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.007686, allocations: 3.938 kB / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.007698, allocations: 0 / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.06e-05/0.007768, allocations: 11.98 kB / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.007771, allocations: 0 / 0.843 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.007805, allocations: 7.984 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.007812, allocations: 4 kB / 0.8431 GB, free: 9.48 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 6.246e-05/0.007875, allocations: 113.8 kB / 0.8432 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.007897, allocations: 0 / 0.8432 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.798e-05/0.007985, allocations: 61.55 kB / 0.8432 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.007987, allocations: 0 / 0.8432 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007989, allocations: 0 / 0.8432 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.007992, allocations: 384 / 0.8432 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.008116, allocations: 73.88 kB / 0.8433 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.008117, allocations: 0 / 0.8433 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.413e-05/0.008162, allocations: 8 kB / 0.8433 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.008164, allocations: 0 / 0.8433 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.008168, allocations: 4 kB / 0.8433 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.00817, allocations: 3.984 kB / 0.8433 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.008174, allocations: 7.922 kB / 0.8433 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.195e-05/0.008266, allocations: 131.5 kB / 0.8434 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.008274, allocations: 7.953 kB / 0.8434 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.008288, allocations: 8 kB / 0.8435 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.008355, allocations: 7.984 kB / 0.8435 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.008394, allocations: 11.88 kB / 0.8435 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.008398, allocations: 0 / 0.8435 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.032e-05/0.008418, allocations: 17.2 kB / 0.8435 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.008418, allocations: 4 kB / 0.8435 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002053/0.008623, allocations: 35.88 kB / 0.8435 GB, free: 8.945 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.0001413/0.008765, allocations: 120.2 kB / 0.8436 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.745e-05/0.008822, allocations: 12.86 kB / 0.8437 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.008825, allocations: 0 / 0.8437 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.008843, allocations: 16.78 kB / 0.8437 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.00897, allocations: 14.47 kB / 0.8437 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.009187, allocations: 144.5 kB / 0.8438 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.069e-05/0.009218, allocations: 59.34 kB / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.009237, allocations: 0 / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.009283, allocations: 55.38 kB / 0.8439 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of SimCode: time 3.9e-07/0.009284, allocations: 0 / 0.8439 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of Templates: time 0.002774/0.01206, allocations: 1.476 MB / 0.8454 GB, free: 7.008 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 -s gbode -gbm=radauIIA3 -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: 5.368805275298655]