Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002001/0.002001, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002575/0.002575, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.485/1.485, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.838/2.838, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.885e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00287/0.002899, allocations: 1.499 MB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.004394, allocations: 0.7598 MB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.004422, allocations: 0 / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.004455, allocations: 3.938 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.004511, allocations: 8.406 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.005013, allocations: 136.7 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.005114, allocations: 56.94 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.344e-05/0.005197, allocations: 8 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.925e-05/0.005267, allocations: 27.95 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.005325, allocations: 20.86 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.005343, allocations: 7.938 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.005695, allocations: 176.5 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.005711, allocations: 4 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.005751, allocations: 19.92 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.006081, allocations: 168.6 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006083, allocations: 0 / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.21e-07/0.006084, allocations: 0 / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.006088, allocations: 1.344 kB / 0.8136 GB, free: 15.23 MB / 0.7761 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.0008258/0.006913, allocations: 323.8 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.006948, allocations: 8.031 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.006997, allocations: 8.938 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.007122, allocations: 113.7 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.007137, allocations: 4.375 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.007146, allocations: 384 / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.007422, allocations: 75.89 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.00743, allocations: 192 / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.007443, allocations: 4.375 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.007447, allocations: 5.281 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.007773, allocations: 73.41 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.008166, allocations: 229.5 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.008386, allocations: 46.55 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.008553, allocations: 42.25 kB / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.008707, allocations: 12.83 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.008746, allocations: 39.78 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.008747, allocations: 0 / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0006165/0.009364, allocations: 135.4 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.009409, allocations: 51.41 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.009521, allocations: 111.2 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.009543, allocations: 25.7 kB / 0.8149 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.009608, allocations: 92.11 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.009634, allocations: 15.94 kB / 0.815 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.009676, allocations: 19.08 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.009867, allocations: 314.8 kB / 0.8153 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.01002, allocations: 26.94 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.01017, allocations: 35.95 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.01047, allocations: 73.22 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01047, allocations: 0 / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003705/0.01084, allocations: 107.7 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.01085, allocations: 4 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01086, allocations: 0.5 kB / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.01088, allocations: 0 / 0.8155 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.011, allocations: 17.27 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.011, allocations: 0 / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-05/0.0111, allocations: 20.81 kB / 0.8156 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.01111, allocations: 0 / 0.8156 GB, free: 13.09 MB / 0.7761 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.0001012/0.01121, allocations: 119.1 kB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.01124, allocations: 11.89 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003974/0.01164, allocations: 107.1 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01164, allocations: 0 / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01164, allocations: 0.6562 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.01165, allocations: 2.656 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.01182, allocations: 113.3 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01182, allocations: 0 / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.01193, allocations: 19.97 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01193, allocations: 0 / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.01194, allocations: 3.938 kB / 0.8159 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01195, allocations: 3.984 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01195, allocations: 2.781 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.01236, allocations: 195.8 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.01238, allocations: 11.97 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.0124, allocations: 7.938 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.01251, allocations: 8.922 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.01256, allocations: 11.98 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.01257, allocations: 1.125 kB / 0.8161 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.059e-05/0.01264, allocations: 83.28 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01264, allocations: 3.938 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002916/0.01293, allocations: 40.98 kB / 0.8163 GB, free: 12.3 MB / 0.7761 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.000244/0.01317, allocations: 129.6 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003589/0.01353, allocations: 70.73 kB / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01353, allocations: 0 / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.01371, allocations: 39.95 kB / 0.8165 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.014, allocations: 10.34 kB / 0.8165 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.01438, allocations: 150.8 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.792e-05/0.01446, allocations: 71.2 kB / 0.8167 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.01449, allocations: 7.984 kB / 0.8167 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.01452, allocations: 12.5 kB / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.01453, allocations: 0 / 0.8167 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.004559/0.01908, allocations: 1.415 MB / 0.8181 GB, free: 10.38 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.737385155982338]