Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.001413/0.001413, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.001549/0.001549, allocations: 211.2 kB / 22.99 MB, free: 4.957 MB / 14.72 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.566/1.566, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.223/3.223, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 62.84 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3769, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003288/0.3802, allocations: 1.863 MB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1818/0.562, allocations: 136.7 MB / 1.462 GB, free: 5.871 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.5622, allocations: 7.938 kB / 1.462 GB, free: 5.863 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.5624, allocations: 27.72 kB / 1.462 GB, free: 5.836 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.5628, allocations: 79.42 kB / 1.463 GB, free: 5.758 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008559/0.5636, allocations: 273.1 kB / 1.463 GB, free: 5.492 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.564, allocations: 267.1 kB / 1.463 GB, free: 5.23 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.5642, allocations: 50.48 kB / 1.463 GB, free: 5.18 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.5657, allocations: 260.1 kB / 1.463 GB, free: 4.949 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.5659, allocations: 91.61 kB / 1.463 GB, free: 4.859 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/0.5659, allocations: 16 kB / 1.463 GB, free: 4.844 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.5663, allocations: 179.7 kB / 1.464 GB, free: 4.668 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.5664, allocations: 51.83 kB / 1.464 GB, free: 4.617 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 9.682e-05/0.5665, allocations: 75.66 kB / 1.464 GB, free: 4.543 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.567, allocations: 294.9 kB / 1.464 GB, free: 4.254 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.567, allocations: 0 / 1.464 GB, free: 4.254 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.542e-06/0.567, allocations: 0 / 1.464 GB, free: 4.254 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.567, allocations: 7.938 kB / 1.464 GB, free: 4.246 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001036/0.568, allocations: 465.2 kB / 1.464 GB, free: 3.762 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.5681, allocations: 12.03 kB / 1.464 GB, free: 3.75 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.5694, allocations: 107.8 kB / 1.465 GB, free: 3.645 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.5697, allocations: 176.8 kB / 1.465 GB, free: 3.445 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.5698, allocations: 63.73 kB / 1.465 GB, free: 3.371 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.5699, allocations: 16 kB / 1.465 GB, free: 3.355 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006342/0.5705, allocations: 322 kB / 1.465 GB, free: 3 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5705, allocations: 0 / 1.465 GB, free: 3 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.5706, allocations: 8 kB / 1.465 GB, free: 2.992 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.5706, allocations: 4 kB / 1.465 GB, free: 2.988 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/0.5711, allocations: 164.3 kB / 1.465 GB, free: 2.828 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.5729, allocations: 1.075 MB / 1.466 GB, free: 1.695 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008783/0.5738, allocations: 198.6 kB / 1.467 GB, free: 1.492 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.574, allocations: 64.81 kB / 1.467 GB, free: 1.426 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.574, allocations: 4 kB / 1.467 GB, free: 1.422 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.574, allocations: 38.55 kB / 1.467 GB, free: 1.375 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.574, allocations: 0 / 1.467 GB, free: 1.375 MB / 1.154 GB Notification: Performance of matching and sorting (n=12): time 0.003025/0.577, allocations: 498.6 kB / 1.467 GB, free: 0.875 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.5771, allocations: 55.41 kB / 1.467 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.5773, allocations: 186.3 kB / 1.467 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.5774, allocations: 25.7 kB / 1.467 GB, free: 0.582 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.5775, allocations: 148.2 kB / 1.468 GB, free: 444 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.5775, allocations: 43.64 kB / 1.468 GB, free: 400 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.5776, allocations: 45.69 kB / 1.468 GB, free: 348 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5778, allocations: 330.8 kB / 1.468 GB, free: 8 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.578, allocations: 72.02 kB / 1.468 GB, free: 15.93 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.5783, allocations: 154.5 kB / 1.468 GB, free: 15.75 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/0.5788, allocations: 202.6 kB / 1.468 GB, free: 15.53 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5788, allocations: 0 / 1.468 GB, free: 15.53 MB / 1.17 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001646/0.5804, allocations: 374.8 kB / 1.469 GB, free: 15.15 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.5804, allocations: 4 kB / 1.469 GB, free: 15.15 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.5805, allocations: 8 kB / 1.469 GB, free: 15.14 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.5818, allocations: 161.6 kB / 1.469 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.582, allocations: 43.97 kB / 1.469 GB, free: 14.93 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004361/0.5864, allocations: 2.985 MB / 1.472 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/0.5868, allocations: 31.83 kB / 1.472 GB, free: 11.71 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.5868, allocations: 15.98 kB / 1.472 GB, free: 11.7 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.5869, allocations: 135.8 kB / 1.472 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.587, allocations: 19.89 kB / 1.472 GB, free: 11.54 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.5885, allocations: 372.2 kB / 1.472 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.5885, allocations: 4 kB / 1.472 GB, free: 11.15 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.5885, allocations: 0 / 1.472 GB, free: 11.15 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5885, allocations: 0 / 1.472 GB, free: 11.15 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.5888, allocations: 193.1 kB / 1.473 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5888, allocations: 4 kB / 1.473 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.5889, allocations: 23.97 kB / 1.473 GB, free: 10.91 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000942/0.5899, allocations: 149.7 kB / 1.473 GB, free: 10.75 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.5899, allocations: 4 kB / 1.473 GB, free: 10.75 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004148/0.594, allocations: 3.037 MB / 1.476 GB, free: 7.496 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.594, allocations: 3.938 kB / 1.476 GB, free: 7.492 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.5954, allocations: 423 kB / 1.476 GB, free: 7.059 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.5955, allocations: 35.81 kB / 1.476 GB, free: 7.023 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.5955, allocations: 4 kB / 1.476 GB, free: 7.02 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.5958, allocations: 19.98 kB / 1.476 GB, free: 7 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.5959, allocations: 15.95 kB / 1.476 GB, free: 6.984 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5959, allocations: 8 kB / 1.476 GB, free: 6.977 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001643/0.5961, allocations: 136.3 kB / 1.476 GB, free: 6.844 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5961, allocations: 0 / 1.476 GB, free: 6.844 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004626/0.5966, allocations: 71.89 kB / 1.476 GB, free: 6.773 MB / 1.17 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002147/0.5968, allocations: 123.9 kB / 1.476 GB, free: 6.641 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.5979, allocations: 441.7 kB / 1.477 GB, free: 6.184 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5979, allocations: 0 / 1.477 GB, free: 6.184 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007133/0.5986, allocations: 349.2 kB / 1.477 GB, free: 5.816 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.599, allocations: 47.91 kB / 1.477 GB, free: 5.77 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.6, allocations: 429.2 kB / 1.478 GB, free: 5.324 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.6002, allocations: 128.4 kB / 1.478 GB, free: 5.184 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.6003, allocations: 29.47 kB / 1.478 GB, free: 5.156 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.6004, allocations: 23.42 kB / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of SimCode: time 4e-07/0.6004, allocations: 0 / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of Templates: time 0.01049/0.6109, allocations: 5.112 MB / 1.483 GB, free: 100 kB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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: 9.72159775099135]