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.001172/0.001172, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001658/0.00283, allocations: 440 kB / 10.41 MB, free: 284 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.001108/0.001108, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002495, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9458/0.9458, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08941/1.035, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.426/2.426, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2502/2.677, allocations: 146 MB / 0.8176 GB, free: 3.84 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.844e-06/1.844e-06, allocations: 0 / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.41e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003073/0.003097, allocations: 1.602 MB / 0.8205 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.004375, allocations: 0.8176 MB / 0.8213 GB, free: 88 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.004409, allocations: 4 kB / 0.8213 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.004438, allocations: 7.938 kB / 0.8213 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.004479, allocations: 7.922 kB / 0.8213 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.004881, allocations: 131.4 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.004983, allocations: 51.78 kB / 0.8215 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.005073, allocations: 8 kB / 0.8215 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.005173, allocations: 39.91 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/0.005233, allocations: 19.97 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.005252, allocations: 8 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.00561, allocations: 171.6 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.005634, allocations: 11.94 kB / 0.8217 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.005657, allocations: 12 kB / 0.8217 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.00589, allocations: 131.5 kB / 0.8219 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.005903, allocations: 0 / 0.8219 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.22e-07/0.005904, allocations: 0 / 0.8219 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.005918, allocations: 0 / 0.8219 GB, free: 15.49 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.0004163/0.006334, allocations: 316.1 kB / 0.8222 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.006365, allocations: 16.03 kB / 0.8222 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.006396, allocations: 8.875 kB / 0.8222 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.609e-05/0.006482, allocations: 113.7 kB / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.006492, allocations: 384 / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.006504, allocations: 4.375 kB / 0.8223 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.006629, allocations: 70.86 kB / 0.8224 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006637, allocations: 192 / 0.8224 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.006643, allocations: 4.375 kB / 0.8224 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.006648, allocations: 384 / 0.8224 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.259e-05/0.00667, allocations: 7.938 kB / 0.8224 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.006885, allocations: 176.2 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.888e-05/0.006944, allocations: 30.5 kB / 0.8226 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.006959, allocations: 8.859 kB / 0.8226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.007059, allocations: 16.08 kB / 0.8226 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.007085, allocations: 34.56 kB / 0.8226 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.007086, allocations: 0 / 0.8226 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001033/0.007189, allocations: 41.62 kB / 0.8227 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.007218, allocations: 63.34 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.007272, allocations: 110.8 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.007281, allocations: 29.7 kB / 0.8229 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.007318, allocations: 96.06 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.007335, allocations: 3.953 kB / 0.823 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.007359, allocations: 17.72 kB / 0.823 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.007436, allocations: 322.8 kB / 0.8233 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.007448, allocations: 0 / 0.8233 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.00746, allocations: 4 kB / 0.8233 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/0.007489, allocations: 12.84 kB / 0.8233 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.007492, allocations: 0 / 0.8233 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.785e-05/0.007549, allocations: 45.62 kB / 0.8233 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.007571, allocations: 4 kB / 0.8233 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.007579, allocations: 11.92 kB / 0.8234 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.007596, allocations: 0 / 0.8234 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.007675, allocations: 8 kB / 0.8234 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.00768, allocations: 4 kB / 0.8234 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.007705, allocations: 11.98 kB / 0.8234 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.007712, allocations: 0 / 0.8234 GB, free: 13.77 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 6.513e-05/0.007777, allocations: 109.8 kB / 0.8235 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.007792, allocations: 4 kB / 0.8235 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.589e-05/0.007888, allocations: 57.55 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.00789, allocations: 4 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.007891, allocations: 0 / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.007894, allocations: 0 / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.84e-05/0.007993, allocations: 81.81 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.007995, allocations: 0 / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.008031, allocations: 11.98 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-06/0.008038, allocations: 7.953 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.00804, allocations: 0 / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.008046, allocations: 0 / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.008048, allocations: 3.938 kB / 0.8236 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.00805, allocations: 0 / 0.8236 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.755e-05/0.008137, allocations: 135.9 kB / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.008152, allocations: 7.984 kB / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.408e-05/0.008186, allocations: 4.047 kB / 0.8238 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.008228, allocations: 15.91 kB / 0.8238 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.008233, allocations: 3.938 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.888e-05/0.008251, allocations: 12.86 kB / 0.8238 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008252, allocations: 0 / 0.8238 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001857/0.008437, allocations: 43.86 kB / 0.8239 GB, free: 13.21 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.0002373/0.008674, allocations: 124.2 kB / 0.824 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.026e-05/0.008755, allocations: 16.8 kB / 0.824 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.008761, allocations: 4 kB / 0.824 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.419e-05/0.008785, allocations: 12.84 kB / 0.824 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.008973, allocations: 71.39 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.009486, allocations: 144.5 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.422e-05/0.00952, allocations: 63.16 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.009544, allocations: 4 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.009597, allocations: 59.36 kB / 0.8243 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.009598, allocations: 0 / 0.8243 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of Templates: time 0.003103/0.0127, allocations: 1.565 MB / 0.8259 GB, free: 11.1 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.246594247408211]