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.001362/0.001362, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001489/0.001489, allocations: 212.4 kB / 23 MB, free: 4.934 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.289/3.289, 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.002057/0.002057, allocations: 63.58 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3623, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003349/0.3657, allocations: 1.869 MB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1852/0.5509, allocations: 136.7 MB / 1.462 GB, free: 5.875 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.551, allocations: 0 / 1.462 GB, free: 5.875 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.5513, allocations: 27.73 kB / 1.462 GB, free: 5.848 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.5516, allocations: 79.41 kB / 1.463 GB, free: 5.77 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.5524, allocations: 255.1 kB / 1.463 GB, free: 5.52 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.000358/0.5527, allocations: 279 kB / 1.463 GB, free: 5.246 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.5529, allocations: 50.55 kB / 1.463 GB, free: 5.195 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.5545, allocations: 255.1 kB / 1.463 GB, free: 4.969 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.5547, allocations: 95.59 kB / 1.463 GB, free: 4.875 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.5548, allocations: 16 kB / 1.463 GB, free: 4.859 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.5552, allocations: 179.7 kB / 1.464 GB, free: 4.684 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.5553, allocations: 51.81 kB / 1.464 GB, free: 4.633 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 9.455e-05/0.5554, allocations: 71.66 kB / 1.464 GB, free: 4.562 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.5559, allocations: 298.8 kB / 1.464 GB, free: 4.27 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.5559, allocations: 8 kB / 1.464 GB, free: 4.262 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5559, allocations: 0 / 1.464 GB, free: 4.262 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.5559, allocations: 0 / 1.464 GB, free: 4.262 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.001149/0.557, allocations: 461.3 kB / 1.464 GB, free: 3.781 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.5571, allocations: 8.031 kB / 1.464 GB, free: 3.773 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.5584, allocations: 115.7 kB / 1.465 GB, free: 3.66 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.5587, allocations: 176.8 kB / 1.465 GB, free: 3.461 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.911e-05/0.5588, allocations: 67.72 kB / 1.465 GB, free: 3.383 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.89e-05/0.5588, allocations: 20 kB / 1.465 GB, free: 3.363 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006803/0.5595, allocations: 310 kB / 1.465 GB, free: 3.02 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.5595, allocations: 4 kB / 1.465 GB, free: 3.016 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.5596, allocations: 8 kB / 1.465 GB, free: 3.008 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.5596, allocations: 4 kB / 1.465 GB, free: 3.004 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/0.5601, allocations: 172.3 kB / 1.465 GB, free: 2.836 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.5621, allocations: 1.071 MB / 1.466 GB, free: 1.707 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00087/0.563, allocations: 194.7 kB / 1.467 GB, free: 1.508 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.5632, allocations: 68.81 kB / 1.467 GB, free: 1.438 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.5632, allocations: 7.875 kB / 1.467 GB, free: 1.43 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.5632, allocations: 38.5 kB / 1.467 GB, free: 1.383 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.5632, allocations: 0 / 1.467 GB, free: 1.383 MB / 1.154 GB Notification: Performance of matching and sorting (n=12): time 0.002844/0.5661, allocations: 478.8 kB / 1.467 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.5661, allocations: 55.41 kB / 1.467 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.5664, allocations: 194.3 kB / 1.467 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.5664, allocations: 25.7 kB / 1.467 GB, free: 0.6016 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5665, allocations: 148.2 kB / 1.468 GB, free: 464 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.5666, allocations: 47.64 kB / 1.468 GB, free: 416 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.5667, allocations: 45.69 kB / 1.468 GB, free: 364 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5669, allocations: 326.8 kB / 1.468 GB, free: 28 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.5671, allocations: 67.95 kB / 1.468 GB, free: 15.96 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.5674, allocations: 162.6 kB / 1.468 GB, free: 15.77 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.5678, allocations: 199.8 kB / 1.468 GB, free: 15.55 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5678, allocations: 4.031 kB / 1.468 GB, free: 15.55 MB / 1.17 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001547/0.5694, allocations: 374.7 kB / 1.469 GB, free: 15.17 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5694, allocations: 8.203 kB / 1.469 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.5694, allocations: 8 kB / 1.469 GB, free: 15.15 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.5706, allocations: 153.5 kB / 1.469 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.5709, allocations: 39.95 kB / 1.469 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004688/0.5755, allocations: 2.993 MB / 1.472 GB, free: 11.75 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.5759, allocations: 31.83 kB / 1.472 GB, free: 11.72 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.576, allocations: 11.98 kB / 1.472 GB, free: 11.71 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.0001867/0.5762, allocations: 137.8 kB / 1.472 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.5762, allocations: 15.89 kB / 1.472 GB, free: 11.55 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.5776, allocations: 373.8 kB / 1.472 GB, free: 11.17 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5776, allocations: 4 kB / 1.472 GB, free: 11.17 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5777, allocations: 0 / 1.472 GB, free: 11.17 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.5778, allocations: 35.88 kB / 1.472 GB, free: 11.13 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.5778, allocations: 0 / 1.472 GB, free: 11.13 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/0.5781, allocations: 15.98 kB / 1.472 GB, free: 11.12 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/0.5782, allocations: 15.97 kB / 1.472 GB, free: 11.1 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001211/0.5794, allocations: 374.4 kB / 1.473 GB, free: 10.72 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000758/0.5802, allocations: 476.4 kB / 1.473 GB, free: 10.24 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001963/0.5804, allocations: 71.94 kB / 1.473 GB, free: 10.17 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001655/0.5805, allocations: 136.3 kB / 1.473 GB, free: 10.04 MB / 1.17 GB Notification: Performance of Backend: time 1.463e-06/0.5805, allocations: 0 / 1.473 GB, free: 10.04 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.5822, allocations: 0.5097 MB / 1.474 GB, free: 9.5 MB / 1.17 GB Notification: Performance of SimCode: time 0.0009601/0.5831, allocations: 0.8214 MB / 1.475 GB, free: 8.629 MB / 1.17 GB Notification: Performance of Templates: time 0.01027/0.5934, allocations: 4.924 MB / 1.48 GB, free: 3.738 MB / 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 -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.742068753002968]