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.0007756/0.0007756, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001836, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000727/0.000727, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008799/0.001607, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.924/0.924, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08837/1.012, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.517/2.517, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2576/2.775, allocations: 145.9 MB / 0.817 GB, free: 4.207 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.352e-06/1.352e-06, allocations: 0 / 0.8183 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.561e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001845/0.001861, allocations: 1.59 MB / 0.8198 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008539/0.002715, allocations: 0.8254 MB / 0.8206 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.002744, allocations: 4 kB / 0.8206 GB, free: 472 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.002767, allocations: 3.938 kB / 0.8207 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.2e-05/0.002799, allocations: 15.86 kB / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.003057, allocations: 123.3 kB / 0.8208 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.935e-05/0.003136, allocations: 51.8 kB / 0.8208 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.003224, allocations: 19.91 kB / 0.8209 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8e-05/0.003304, allocations: 31.97 kB / 0.8209 GB, free: 224 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.003352, allocations: 19.92 kB / 0.8209 GB, free: 204 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.003368, allocations: 8 kB / 0.8209 GB, free: 196 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.003611, allocations: 167.7 kB / 0.8211 GB, free: 28 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.003627, allocations: 11.94 kB / 0.8211 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.003645, allocations: 8 kB / 0.8211 GB, free: 8 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.003851, allocations: 139.5 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.468e-05/0.003866, allocations: 4 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003867, allocations: 0 / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.003882, allocations: 0 / 0.8212 GB, free: 15.87 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.0003997/0.004282, allocations: 312.1 kB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.004312, allocations: 8.625 kB / 0.8215 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.00434, allocations: 12.92 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.864e-05/0.004418, allocations: 105.8 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.004429, allocations: 4.375 kB / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-06/0.004435, allocations: 384 / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.004554, allocations: 78.86 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.004561, allocations: 192 / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.004568, allocations: 384 / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004573, allocations: 384 / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.004596, allocations: 11.94 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.004801, allocations: 164.2 kB / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.754e-05/0.004858, allocations: 38.5 kB / 0.8219 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.004873, allocations: 4.859 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.777e-05/0.004971, allocations: 20.14 kB / 0.822 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.004989, allocations: 30.56 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.00499, allocations: 0 / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001023/0.005092, allocations: 49.61 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.005121, allocations: 55.41 kB / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.672e-05/0.005178, allocations: 118.6 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.005187, allocations: 29.7 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.005215, allocations: 88.09 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.005235, allocations: 11.88 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.005261, allocations: 21.7 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.00533, allocations: 314.8 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-06/0.00534, allocations: 4 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-06/0.005349, allocations: 3.984 kB / 0.8227 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.005374, allocations: 12.86 kB / 0.8227 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.005376, allocations: 0 / 0.8227 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.372e-05/0.00542, allocations: 41.62 kB / 0.8227 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.005431, allocations: 8 kB / 0.8227 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.005436, allocations: 7.938 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.005443, allocations: 0 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.005502, allocations: 11.98 kB / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.005504, allocations: 0 / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.005524, allocations: 7.984 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.005528, allocations: 0 / 0.8227 GB, free: 14.16 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.666e-05/0.005575, allocations: 109.8 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.005586, allocations: 0 / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.005653, allocations: 53.61 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.005654, allocations: 4 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.005655, allocations: 4 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.005658, allocations: 0 / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.354e-05/0.005741, allocations: 85.81 kB / 0.823 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005742, allocations: 0 / 0.823 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.005769, allocations: 11.94 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-06/0.005776, allocations: 11.94 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005778, allocations: 0 / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-06/0.005781, allocations: 0 / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.005782, allocations: 3.938 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005783, allocations: 0 / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.055e-05/0.005844, allocations: 135.5 kB / 0.8231 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.005852, allocations: 0 / 0.8231 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.005889, allocations: 11.98 kB / 0.8231 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.005919, allocations: 11.94 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.005921, allocations: 0 / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.262e-05/0.005933, allocations: 16.83 kB / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005933, allocations: 3.938 kB / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001408/0.006074, allocations: 43.81 kB / 0.8232 GB, free: 13.61 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.0001554/0.006229, allocations: 124.2 kB / 0.8233 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.787e-05/0.006287, allocations: 21.27 kB / 0.8234 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.006292, allocations: 0 / 0.8234 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.707e-05/0.006309, allocations: 16.94 kB / 0.8234 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.006443, allocations: 19.97 kB / 0.8234 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.006906, allocations: 144.4 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.006937, allocations: 63.2 kB / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.005e-05/0.006958, allocations: 8 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.007001, allocations: 55.38 kB / 0.8237 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of SimCode: time 9.02e-07/0.007002, allocations: 0 / 0.8237 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of Templates: time 0.002945/0.009947, allocations: 1.591 MB / 0.8252 GB, free: 11.52 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.ref.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.266189052723348]