Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.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.001174/0.001174, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001801/0.002975, allocations: 449.7 kB / 10.37 MB, free: 328 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.001013/0.001013, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.002071, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09569/1.111, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.911/1.911, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4887/2.399, allocations: 123.3 MB / 0.728 GB, free: 5.793 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.046e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001853/0.001873, allocations: 1.369 MB / 0.7307 GB, free: 3.141 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009051/0.002778, allocations: 0.8463 MB / 0.7315 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.0028, allocations: 0 / 0.7315 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.866e-06/0.002809, allocations: 3.938 kB / 0.7315 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.673e-05/0.002835, allocations: 7.125 kB / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.003232, allocations: 126.9 kB / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.949e-05/0.003311, allocations: 27.92 kB / 0.7317 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.003344, allocations: 0.5 kB / 0.7317 GB, free: 2.168 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.003405, allocations: 24.84 kB / 0.7317 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.055e-05/0.003456, allocations: 7.984 kB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.003468, allocations: 4 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.003741, allocations: 164.2 kB / 0.7318 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.003755, allocations: 4.875 kB / 0.7319 GB, free: 1.969 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.00377, allocations: 4 kB / 0.7319 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.00396, allocations: 119.6 kB / 0.732 GB, free: 1.848 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.49e-05/0.003975, allocations: 1.438 kB / 0.732 GB, free: 1.848 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003976, allocations: 0 / 0.732 GB, free: 1.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.003989, allocations: 4 kB / 0.732 GB, free: 1.844 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003367/0.004325, allocations: 285 kB / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.004353, allocations: 8.031 kB / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.00438, allocations: 9.625 kB / 0.7323 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.875e-05/0.004449, allocations: 111.4 kB / 0.7324 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.004511, allocations: 59.95 kB / 0.7324 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.004519, allocations: 8.312 kB / 0.7324 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.993e-05/0.004609, allocations: 76.66 kB / 0.7325 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.004615, allocations: 192 / 0.7325 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.004621, allocations: 1.188 kB / 0.7325 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004627, allocations: 4.125 kB / 0.7325 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.004652, allocations: 8.484 kB / 0.7325 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.629e-05/0.004728, allocations: 61.55 kB / 0.7326 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.004858, allocations: 43.81 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.004872, allocations: 8.859 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.005006, allocations: 24.94 kB / 0.7327 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.00503, allocations: 35.19 kB / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.005031, allocations: 0 / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 9.766e-05/0.005129, allocations: 46.31 kB / 0.7327 GB, free: 0.957 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.005154, allocations: 61.14 kB / 0.7328 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.64e-05/0.005201, allocations: 98.72 kB / 0.7329 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.00521, allocations: 29.7 kB / 0.7329 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.00523, allocations: 80.14 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.005254, allocations: 15.83 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.005277, allocations: 18.3 kB / 0.733 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.005346, allocations: 323.8 kB / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-06/0.005355, allocations: 0 / 0.7333 GB, free: 304 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-06/0.005364, allocations: 4 kB / 0.7333 GB, free: 300 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.005389, allocations: 17.38 kB / 0.7334 GB, free: 280 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005391, allocations: 1.125 kB / 0.7334 GB, free: 280 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.636e-05/0.005437, allocations: 45.62 kB / 0.7334 GB, free: 228 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.005449, allocations: 4.719 kB / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.005453, allocations: 0 / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.005461, allocations: 4.531 kB / 0.7334 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.003e-05/0.005501, allocations: 4 kB / 0.7334 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.005504, allocations: 1.031 kB / 0.7334 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.005518, allocations: 7.984 kB / 0.7334 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.005523, allocations: 4.5 kB / 0.7334 GB, free: 204 kB / 0.698 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 (4): * Single equations (assignments): 4 * 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.112e-05/0.005574, allocations: 107.6 kB / 0.7335 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.005583, allocations: 8 kB / 0.7335 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/0.005654, allocations: 53.3 kB / 0.7336 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.005657, allocations: 0.5625 kB / 0.7336 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.005658, allocations: 3.938 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005661, allocations: 1.219 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.51e-05/0.005736, allocations: 73.83 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.005738, allocations: 4 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.005763, allocations: 13.52 kB / 0.7337 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.005785, allocations: 7.953 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.005787, allocations: 3.984 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-06/0.005791, allocations: 0 / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.005792, allocations: 0.5312 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.005793, allocations: 0.75 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.706e-05/0.00585, allocations: 69.06 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.00586, allocations: 8.641 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.507e-05/0.005885, allocations: 0 / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.00591, allocations: 8.688 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.005913, allocations: 0 / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.045e-05/0.005924, allocations: 13.81 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005924, allocations: 0 / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001487/0.006072, allocations: 35.88 kB / 0.7338 GB, free: 15.74 MB / 0.7136 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 (4): * Single equations (assignments): 4 * 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.0001584/0.006231, allocations: 125.4 kB / 0.7339 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.804e-05/0.006289, allocations: 21.41 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.006292, allocations: 1.156 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.006307, allocations: 20.78 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.68e-05/0.006404, allocations: 16.92 kB / 0.734 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.007238, allocations: 137.8 kB / 0.7341 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.769e-05/0.007265, allocations: 56.39 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.007293, allocations: 6.75 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.007343, allocations: 59.36 kB / 0.7342 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.007343, allocations: 0 / 0.7342 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.002941/0.01028, allocations: 1.304 MB / 0.7355 GB, free: 14.03 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.ref.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: 4.9303459115326405]