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.001906/0.001906, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002472/0.002472, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.495/1.495, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.168/3.168, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] 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.263e-06/1.263e-06, allocations: 0 / 0.8776 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.192e-05, allocations: 8.922 kB / 0.8776 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002837/0.002869, allocations: 1.497 MB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.004366, allocations: 0.7581 MB / 0.8798 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.004395, allocations: 1.094 kB / 0.8798 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.004431, allocations: 7.922 kB / 0.8798 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.004488, allocations: 12.89 kB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.00496, allocations: 132 kB / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.00508, allocations: 56.5 kB / 0.88 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.005165, allocations: 11.98 kB / 0.88 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.799e-05/0.005243, allocations: 31.34 kB / 0.88 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.005289, allocations: 15.98 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.005307, allocations: 4 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.005656, allocations: 171.6 kB / 0.8802 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.005682, allocations: 15.91 kB / 0.8802 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.005715, allocations: 12 kB / 0.8802 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.006033, allocations: 171.5 kB / 0.8804 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006036, allocations: 0 / 0.8804 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.006037, allocations: 0 / 0.8804 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.00604, allocations: 0.5938 kB / 0.8804 GB, free: 3.676 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.0006283/0.006669, allocations: 323.4 kB / 0.8807 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.006706, allocations: 8.031 kB / 0.8807 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.518e-05/0.006761, allocations: 12.89 kB / 0.8807 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.006883, allocations: 113.8 kB / 0.8808 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.006898, allocations: 4.375 kB / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.006908, allocations: 4.312 kB / 0.8808 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.007194, allocations: 74.2 kB / 0.8809 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.007202, allocations: 192 / 0.8809 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.007215, allocations: 8.312 kB / 0.8809 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.007222, allocations: 4.375 kB / 0.8809 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.007753, allocations: 71.86 kB / 0.881 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.008133, allocations: 220.5 kB / 0.8812 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.008353, allocations: 54.48 kB / 0.8813 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.008511, allocations: 36.91 kB / 0.8813 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.00867, allocations: 19.98 kB / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.008714, allocations: 38.5 kB / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.008715, allocations: 0 / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0006046/0.00932, allocations: 129.5 kB / 0.8815 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.009366, allocations: 51.41 kB / 0.8815 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.009484, allocations: 117.8 kB / 0.8816 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.009507, allocations: 33.64 kB / 0.8817 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.009569, allocations: 84.14 kB / 0.8817 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.009598, allocations: 15.91 kB / 0.8818 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.009634, allocations: 9.719 kB / 0.8818 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.009816, allocations: 322.8 kB / 0.8821 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.00997, allocations: 27.97 kB / 0.8821 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.01012, allocations: 31.95 kB / 0.8821 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.01041, allocations: 72.8 kB / 0.8822 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.01041, allocations: 4 kB / 0.8822 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003462/0.01076, allocations: 101.5 kB / 0.8823 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.01077, allocations: 6.5 kB / 0.8823 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01078, allocations: 4 kB / 0.8823 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.01079, allocations: 3.938 kB / 0.8823 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.01092, allocations: 15.98 kB / 0.8823 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.01092, allocations: 0 / 0.8823 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.662e-05/0.01102, allocations: 19.88 kB / 0.8823 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.01102, allocations: 0 / 0.8823 GB, free: 1.5 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 0.0001203/0.01115, allocations: 117.8 kB / 0.8825 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.01118, allocations: 8.266 kB / 0.8825 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.01158, allocations: 109.6 kB / 0.8826 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01159, allocations: 7.938 kB / 0.8826 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.01159, allocations: 0 / 0.8826 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01159, allocations: 0 / 0.8826 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.01177, allocations: 109.3 kB / 0.8827 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.01177, allocations: 0 / 0.8827 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.01188, allocations: 19.92 kB / 0.8827 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.01188, allocations: 7.984 kB / 0.8827 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.01189, allocations: 3.938 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01189, allocations: 0 / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.0119, allocations: 0 / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.01232, allocations: 195.4 kB / 0.8829 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.01233, allocations: 0 / 0.8829 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.01236, allocations: 7.938 kB / 0.8829 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.01248, allocations: 15.97 kB / 0.8829 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.01253, allocations: 8 kB / 0.8829 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.01253, allocations: 0 / 0.8829 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.871e-05/0.0126, allocations: 91.27 kB / 0.883 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.0126, allocations: 0 / 0.883 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002976/0.0129, allocations: 31.88 kB / 0.8831 GB, free: 0.7188 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.0003039/0.0132, allocations: 135.1 kB / 0.8832 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003742/0.01358, allocations: 71.92 kB / 0.8832 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01358, allocations: 0 / 0.8832 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.01375, allocations: 35.95 kB / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.01414, allocations: 12 kB / 0.8833 GB, free: 468 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.01461, allocations: 148.3 kB / 0.8834 GB, free: 292 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.607e-05/0.01469, allocations: 67.34 kB / 0.8835 GB, free: 204 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.885e-05/0.01473, allocations: 7.984 kB / 0.8835 GB, free: 196 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.01478, allocations: 12.5 kB / 0.8835 GB, free: 180 kB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/0.01478, allocations: 0 / 0.8835 GB, free: 180 kB / 0.8386 GB Notification: Performance of Templates: time 0.005033/0.01981, allocations: 1.425 MB / 0.8849 GB, free: 14.77 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.056845683022402]