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.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.0009566/0.0009566, allocations: 80.81 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.00107/0.00107, allocations: 173 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.9624/0.9624, 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.322/2.322, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.356e-05, allocations: 8.781 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002318/0.002341, allocations: 1.325 MB / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.003574, allocations: 0.8408 MB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.003595, allocations: 0 / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.003614, allocations: 3.938 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.003657, allocations: 3.938 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.004182, allocations: 135.3 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.87e-05/0.004261, allocations: 31.86 kB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.005e-05/0.004291, allocations: 0 / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.004355, allocations: 15.98 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.004413, allocations: 11.98 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.004426, allocations: 0 / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.004736, allocations: 163.6 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.004753, allocations: 0 / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.004772, allocations: 11.94 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.005009, allocations: 135.6 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.00501, allocations: 0 / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.01e-07/0.005011, allocations: 4 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.005014, allocations: 4 kB / 0.8412 GB, free: 11.49 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000335/0.005349, allocations: 268.2 kB / 0.8415 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.005384, allocations: 8.625 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.005414, allocations: 8.938 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.066e-05/0.005495, allocations: 105.8 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.00556, allocations: 55.97 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.005572, allocations: 4.375 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.005677, allocations: 80.64 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.005685, allocations: 192 / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.005692, allocations: 384 / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.0057, allocations: 12.12 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.005724, allocations: 7.938 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.501e-05/0.005819, allocations: 57.05 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.005953, allocations: 38.59 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.00597, allocations: 8.859 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.006126, allocations: 28.06 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.006149, allocations: 30.56 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.00615, allocations: 4 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001228/0.006273, allocations: 53.61 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.006304, allocations: 51.41 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.738e-05/0.006362, allocations: 106.7 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.006374, allocations: 25.7 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.0064, allocations: 80.14 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.006428, allocations: 15.84 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.006461, allocations: 17.7 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.006558, allocations: 322.8 kB / 0.8425 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.006572, allocations: 4 kB / 0.8425 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.006584, allocations: 8 kB / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.006619, allocations: 20.78 kB / 0.8426 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.006622, allocations: 4 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.334e-05/0.006686, allocations: 37.69 kB / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.006697, allocations: 8 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.006701, allocations: 0 / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.006712, allocations: 0 / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.233e-05/0.006754, allocations: 4 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.006758, allocations: 4 kB / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.006777, allocations: 7.938 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.006786, allocations: 11.91 kB / 0.8426 GB, free: 9.84 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 (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 5.842e-05/0.006844, allocations: 109.8 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.006855, allocations: 4 kB / 0.8427 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.612e-05/0.006941, allocations: 53.3 kB / 0.8428 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006943, allocations: 0 / 0.8428 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.006944, allocations: 0 / 0.8428 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.006947, allocations: 0 / 0.8428 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.666e-05/0.007024, allocations: 77.83 kB / 0.8429 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.007025, allocations: 0 / 0.8429 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.007053, allocations: 8 kB / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.007055, allocations: 0 / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.007061, allocations: 3.984 kB / 0.8429 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.007064, allocations: 4 kB / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007064, allocations: 0 / 0.8429 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.678e-05/0.007141, allocations: 69 kB / 0.8429 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.007169, allocations: 8.609 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.007179, allocations: 4 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.761e-05/0.007207, allocations: 3.984 kB / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.007233, allocations: 4 kB / 0.843 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.007238, allocations: 0 / 0.843 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.347e-05/0.007251, allocations: 16.84 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007251, allocations: 0 / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002331/0.007484, allocations: 39.86 kB / 0.843 GB, free: 9.383 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 (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.0001882/0.007672, allocations: 120.2 kB / 0.8431 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.392e-05/0.007736, allocations: 16.86 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.007739, allocations: 0 / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.007761, allocations: 20.78 kB / 0.8432 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.697e-05/0.007858, allocations: 15.94 kB / 0.8432 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.008331, allocations: 132.7 kB / 0.8433 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.553e-05/0.008366, allocations: 55.34 kB / 0.8434 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.008403, allocations: 8 kB / 0.8434 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.008466, allocations: 55.38 kB / 0.8434 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.008467, allocations: 3.938 kB / 0.8434 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of Templates: time 0.003405/0.01187, allocations: 1.279 MB / 0.8447 GB, free: 7.633 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] 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","",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.100270158145577]