Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7629 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.89 kB / 1.107 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 168.7 MB / 1.272 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002615/1.006, allocations: 1.512 MB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001237/1.007, allocations: 0.825 MB / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.459e-05/1.007, allocations: 0 / 1.274 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/1.007, allocations: 5.281 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.101e-05/1.007, allocations: 14.81 kB / 1.274 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/1.007, allocations: 130.9 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.246e-05/1.008, allocations: 50.16 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/1.008, allocations: 15.03 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.172e-05/1.008, allocations: 22.69 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/1.008, allocations: 20.62 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/1.008, allocations: 4.812 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/1.008, allocations: 174.5 kB / 1.275 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/1.008, allocations: 12.61 kB / 1.275 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/1.008, allocations: 22 kB / 1.275 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/1.008, allocations: 147 kB / 1.275 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.008, allocations: 6.172 kB / 1.275 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/1.008, allocations: 0 / 1.275 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.32e-06/1.008, allocations: 0 / 1.275 GB, free: 6.09 MB / 0.9981 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.0004734/1.009, allocations: 401.1 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/1.009, allocations: 9.219 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/1.009, allocations: 4.031 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.756e-05/1.009, allocations: 168.2 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/1.009, allocations: 1.719 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/1.009, allocations: 10.78 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/1.009, allocations: 81.77 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.009, allocations: 192 / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/1.009, allocations: 4.656 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/1.009, allocations: 0.6562 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/1.01, allocations: 68.44 kB / 1.276 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/1.01, allocations: 287.5 kB / 1.276 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/1.01, allocations: 54.38 kB / 1.276 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/1.01, allocations: 48.58 kB / 1.276 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/1.01, allocations: 93.47 kB / 1.276 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/1.01, allocations: 37.41 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/1.01, allocations: 0 / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005257/1.011, allocations: 132.5 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/1.011, allocations: 56.31 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/1.011, allocations: 117.7 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/1.011, allocations: 29.64 kB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.009e-05/1.011, allocations: 87.69 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/1.011, allocations: 7.203 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/1.011, allocations: 16.5 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.295e-05/1.011, allocations: 326.4 kB / 1.277 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/1.011, allocations: 28.22 kB / 1.277 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/1.011, allocations: 31.19 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/1.012, allocations: 71.16 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.012, allocations: 1.156 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000293/1.012, allocations: 106.2 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.012, allocations: 5.406 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.012, allocations: 1.031 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.012, allocations: 0 / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/1.012, allocations: 14.81 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.012, allocations: 5.828 kB / 1.277 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/1.012, allocations: 11.31 kB / 1.277 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/1.012, allocations: 0.8125 kB / 1.277 GB, free: 4.168 MB / 0.9981 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.655e-05/1.012, allocations: 117.4 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/1.012, allocations: 6.828 kB / 1.277 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/1.013, allocations: 106 kB / 1.277 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/1.013, allocations: 1.094 kB / 1.277 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.013, allocations: 0 / 1.277 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/1.013, allocations: 3.938 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/1.013, allocations: 174 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/1.013, allocations: 0 / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-05/1.013, allocations: 20.2 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.013, allocations: 0.7812 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/1.013, allocations: 0.625 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.013, allocations: 9.047 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.013, allocations: 0 / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/1.013, allocations: 196.1 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/1.013, allocations: 82.22 kB / 1.278 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/1.013, allocations: 2.109 kB / 1.278 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/1.013, allocations: 21.58 kB / 1.278 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/1.013, allocations: 1.812 kB / 1.278 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/1.013, allocations: 4.938 kB / 1.278 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.53e-05/1.013, allocations: 95.98 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.013, allocations: 0 / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002774/1.014, allocations: 36.02 kB / 1.278 GB, free: 3.426 MB / 0.9981 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.0001849/1.014, allocations: 131.2 kB / 1.278 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003367/1.014, allocations: 74.67 kB / 1.278 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.014, allocations: 0 / 1.278 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/1.014, allocations: 35.28 kB / 1.278 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/1.015, allocations: 21.34 kB / 1.278 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/1.015, allocations: 159.8 kB / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/1.015, allocations: 0.6815 MB / 1.279 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.347e-05/1.015, allocations: 2.031 kB / 1.279 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/1.015, allocations: 14.81 kB / 1.279 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.015, allocations: 0 / 1.279 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of Templates: time 0.004422/1.02, allocations: 1.375 MB / 1.28 GB, free: 2.32 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.863205007277429]