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.001276/0.001276, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001831/0.001831, allocations: 173 kB / 23.49 MB, free: 1.059 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.9367/0.9367, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.044/2.044, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.522e-06/1.522e-06, allocations: 0 / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.779e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001711/0.001729, allocations: 1.547 MB / 0.8797 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008758/0.002604, allocations: 0.8076 MB / 0.8805 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.002641, allocations: 0 / 0.8805 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.002666, allocations: 5.062 kB / 0.8805 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.002714, allocations: 11.86 kB / 0.8805 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.003061, allocations: 136.4 kB / 0.8806 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.598e-05/0.003137, allocations: 56.66 kB / 0.8807 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.003224, allocations: 15.97 kB / 0.8807 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.565e-05/0.00328, allocations: 24.42 kB / 0.8807 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.003318, allocations: 21.81 kB / 0.8807 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.003333, allocations: 4 kB / 0.8807 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.003541, allocations: 163.7 kB / 0.8809 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.00356, allocations: 15.92 kB / 0.8809 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.003583, allocations: 15.98 kB / 0.8809 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.003791, allocations: 156.8 kB / 0.8811 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003794, allocations: 0 / 0.8811 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003794, allocations: 0 / 0.8811 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.003798, allocations: 4 kB / 0.8811 GB, free: 3.707 MB / 0.8386 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.0004187/0.004217, allocations: 413.2 kB / 0.8815 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.004251, allocations: 8.031 kB / 0.8815 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.004286, allocations: 9.547 kB / 0.8815 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.323e-05/0.00437, allocations: 120.5 kB / 0.8816 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.004381, allocations: 5.969 kB / 0.8816 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.004389, allocations: 4.312 kB / 0.8816 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.004519, allocations: 74.86 kB / 0.8817 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.004525, allocations: 192 / 0.8817 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.004535, allocations: 6.938 kB / 0.8817 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.004543, allocations: 4.375 kB / 0.8817 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.424e-05/0.004577, allocations: 11.92 kB / 0.8817 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.004858, allocations: 263.8 kB / 0.8819 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.709e-05/0.004925, allocations: 42.98 kB / 0.882 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.004948, allocations: 11.69 kB / 0.882 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.005059, allocations: 14.05 kB / 0.882 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.00508, allocations: 45.33 kB / 0.8821 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.005081, allocations: 0 / 0.8821 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001445/0.005225, allocations: 46.36 kB / 0.8821 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.005252, allocations: 51.41 kB / 0.8821 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/0.00533, allocations: 179.5 kB / 0.8823 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.005339, allocations: 25.7 kB / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.005383, allocations: 142.8 kB / 0.8825 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.005399, allocations: 7.953 kB / 0.8825 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.005425, allocations: 23.38 kB / 0.8825 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.005521, allocations: 492.6 kB / 0.883 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.005539, allocations: 9.016 kB / 0.883 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.291e-05/0.005552, allocations: 0 / 0.883 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.545e-05/0.005587, allocations: 19.69 kB / 0.883 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005589, allocations: 4 kB / 0.883 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.301e-05/0.005652, allocations: 57.56 kB / 0.8831 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.005664, allocations: 4 kB / 0.8831 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.005668, allocations: 0 / 0.8831 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.005679, allocations: 0 / 0.8831 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.005736, allocations: 11.98 kB / 0.8831 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.00574, allocations: 0 / 0.8831 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.005763, allocations: 7.953 kB / 0.8831 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.00577, allocations: 4 kB / 0.8831 GB, free: 1.43 MB / 0.8386 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 5.372e-05/0.005823, allocations: 156.6 kB / 0.8832 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.005838, allocations: 11.92 kB / 0.8833 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.209e-05/0.00592, allocations: 49.69 kB / 0.8833 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005922, allocations: 4 kB / 0.8833 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.005925, allocations: 4.312 kB / 0.8833 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.005928, allocations: 0 / 0.8833 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.605e-05/0.006014, allocations: 120.6 kB / 0.8834 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006015, allocations: 0 / 0.8834 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.006041, allocations: 15.92 kB / 0.8834 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.006043, allocations: 3.984 kB / 0.8834 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.00605, allocations: 3.938 kB / 0.8834 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.00605, allocations: 4 kB / 0.8834 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006051, allocations: 0 / 0.8834 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.472e-05/0.006135, allocations: 195.9 kB / 0.8836 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-06/0.00614, allocations: 0 / 0.8836 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.006151, allocations: 7.922 kB / 0.8836 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.581e-05/0.006187, allocations: 8 kB / 0.8836 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.006228, allocations: 7.984 kB / 0.8837 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.00623, allocations: 0 / 0.8837 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.006266, allocations: 135.5 kB / 0.8838 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006266, allocations: 3.938 kB / 0.8838 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001704/0.006436, allocations: 43.81 kB / 0.8838 GB, free: 0.5977 MB / 0.8386 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.0001457/0.006582, allocations: 131.2 kB / 0.884 GB, free: 468 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.006659, allocations: 19.69 kB / 0.884 GB, free: 444 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.00666, allocations: 0 / 0.884 GB, free: 444 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.137e-05/0.006682, allocations: 15.69 kB / 0.884 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.006852, allocations: 13.02 kB / 0.884 GB, free: 412 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.007109, allocations: 162 kB / 0.8842 GB, free: 220 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.00714, allocations: 55.36 kB / 0.8842 GB, free: 144 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.835e-05/0.007159, allocations: 4 kB / 0.8842 GB, free: 140 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.00718, allocations: 12.48 kB / 0.8842 GB, free: 124 kB / 0.8386 GB Notification: Performance of SimCode: time 8.52e-07/0.007181, allocations: 0 / 0.8842 GB, free: 124 kB / 0.8386 GB Notification: Performance of Templates: time 0.0027/0.009881, allocations: 1.436 MB / 0.8856 GB, free: 14.71 MB / 0.8542 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: 5.144927911926061]