Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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.001875/0.001875, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002374/0.002374, allocations: 211.1 kB / 22.24 MB, free: 5.262 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.742 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.202/3.202, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") [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.002367/0.002367, allocations: 65.34 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4352, allocations: 176.1 MB / 1.325 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.21/0.6452, allocations: 143.6 MB / 1.466 GB, free: 1.766 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006945/0.6521, allocations: 3.333 MB / 1.469 GB, free: 14.43 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007607/0.6529, allocations: 27.75 kB / 1.469 GB, free: 14.4 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.6541, allocations: 266.5 kB / 1.469 GB, free: 14.14 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.6572, allocations: 0.9295 MB / 1.47 GB, free: 13.2 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.6588, allocations: 465.5 kB / 1.471 GB, free: 12.75 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002271/0.661, allocations: 1.13 MB / 1.472 GB, free: 11.62 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007577/0.6618, allocations: 276.5 kB / 1.472 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.6631, allocations: 470.3 kB / 1.472 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.6644, allocations: 371.1 kB / 1.473 GB, free: 10.52 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.6646, allocations: 40 kB / 1.473 GB, free: 10.48 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.6661, allocations: 0.5766 MB / 1.473 GB, free: 9.898 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.6665, allocations: 175.4 kB / 1.474 GB, free: 9.727 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005373/0.667, allocations: 226.9 kB / 1.474 GB, free: 9.504 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.6692, allocations: 0.9342 MB / 1.475 GB, free: 8.566 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.6692, allocations: 0 / 1.475 GB, free: 8.566 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6692, allocations: 0 / 1.475 GB, free: 8.566 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.671e-05/0.6692, allocations: 0 / 1.475 GB, free: 8.566 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002064/0.6713, allocations: 0.8192 MB / 1.475 GB, free: 7.715 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.6713, allocations: 8.031 kB / 1.475 GB, free: 7.707 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.6725, allocations: 155.5 kB / 1.476 GB, free: 7.555 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.6735, allocations: 450.2 kB / 1.476 GB, free: 7.09 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.6735, allocations: 20.66 kB / 1.476 GB, free: 7.07 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/0.6736, allocations: 31.98 kB / 1.476 GB, free: 7.039 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/0.6743, allocations: 427.8 kB / 1.477 GB, free: 6.582 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.6744, allocations: 0 / 1.477 GB, free: 6.582 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.6744, allocations: 12 kB / 1.477 GB, free: 6.57 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.6744, allocations: 20.64 kB / 1.477 GB, free: 6.551 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.6749, allocations: 218.5 kB / 1.477 GB, free: 6.34 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.677, allocations: 0.906 MB / 1.478 GB, free: 5.398 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/0.6775, allocations: 218.7 kB / 1.478 GB, free: 5.176 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.6777, allocations: 102.6 kB / 1.478 GB, free: 5.074 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.6777, allocations: 11.97 kB / 1.478 GB, free: 5.062 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004069/0.6781, allocations: 266.1 kB / 1.478 GB, free: 4.766 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 1.803e-06/0.6781, allocations: 0 / 1.478 GB, free: 4.766 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.003054/0.6812, allocations: 1.026 MB / 1.479 GB, free: 3.703 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.6812, allocations: 55.41 kB / 1.479 GB, free: 3.637 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/0.6819, allocations: 469.8 kB / 1.48 GB, free: 3.168 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.6819, allocations: 33.7 kB / 1.48 GB, free: 3.129 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.6821, allocations: 244.5 kB / 1.48 GB, free: 2.887 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.6823, allocations: 115 kB / 1.48 GB, free: 2.773 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.6824, allocations: 78.02 kB / 1.48 GB, free: 2.691 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.6826, allocations: 358.8 kB / 1.481 GB, free: 2.332 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.6829, allocations: 128.7 kB / 1.481 GB, free: 2.207 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.6832, allocations: 186.7 kB / 1.481 GB, free: 2.008 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005399/0.6837, allocations: 319.3 kB / 1.481 GB, free: 1.68 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6837, allocations: 0 / 1.481 GB, free: 1.68 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001051/0.6848, allocations: 486.4 kB / 1.482 GB, free: 1.195 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6848, allocations: 4 kB / 1.482 GB, free: 1.191 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6848, allocations: 4.156 kB / 1.482 GB, free: 1.188 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003639/0.6851, allocations: 84.8 kB / 1.482 GB, free: 1.102 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.6854, allocations: 67.91 kB / 1.482 GB, free: 1.035 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.6875, allocations: 1.774 MB / 1.483 GB, free: 15.16 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.6879, allocations: 8.031 kB / 1.483 GB, free: 15.15 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.6879, allocations: 16 kB / 1.484 GB, free: 15.14 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.6882, allocations: 191.6 kB / 1.484 GB, free: 14.94 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/0.6883, allocations: 47.66 kB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009779/0.6892, allocations: 411.2 kB / 1.484 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.6892, allocations: 4 kB / 1.484 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6892, allocations: 0 / 1.484 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6893, allocations: 0 / 1.484 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.6911, allocations: 0.8542 MB / 1.485 GB, free: 13.58 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.6911, allocations: 4 kB / 1.485 GB, free: 13.58 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.6914, allocations: 71.89 kB / 1.485 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003218/0.6918, allocations: 76.83 kB / 1.485 GB, free: 13.43 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.6918, allocations: 15.98 kB / 1.485 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.6935, allocations: 1.511 MB / 1.487 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6935, allocations: 0 / 1.487 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.6947, allocations: 0.5916 MB / 1.487 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.6949, allocations: 71.72 kB / 1.487 GB, free: 11.12 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/0.695, allocations: 15.94 kB / 1.487 GB, free: 11.1 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.6953, allocations: 13.95 kB / 1.487 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.6954, allocations: 19.95 kB / 1.487 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.6954, allocations: 15.98 kB / 1.487 GB, free: 11.05 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003883/0.6958, allocations: 311.1 kB / 1.488 GB, free: 10.75 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6958, allocations: 0 / 1.488 GB, free: 10.75 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005805/0.6964, allocations: 123.9 kB / 1.488 GB, free: 10.63 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001882/0.6983, allocations: 470.4 kB / 1.488 GB, free: 10.35 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000859/0.6991, allocations: 414.9 kB / 1.489 GB, free: 9.934 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6991, allocations: 0 / 1.489 GB, free: 9.934 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.6995, allocations: 250.8 kB / 1.489 GB, free: 9.676 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.7006, allocations: 242.5 kB / 1.489 GB, free: 9.449 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.7027, allocations: 1.018 MB / 1.49 GB, free: 8.402 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.7031, allocations: 255.8 kB / 1.49 GB, free: 8.125 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003665/0.7034, allocations: 80.33 kB / 1.49 GB, free: 8.047 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.7036, allocations: 39.44 kB / 1.49 GB, free: 8.008 MB / 1.186 GB Notification: Performance of SimCode: time 4.41e-07/0.7036, allocations: 0 / 1.49 GB, free: 8.008 MB / 1.186 GB Notification: Performance of Templates: time 0.02032/0.7239, allocations: 10.04 MB / 1.5 GB, free: 14.16 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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.813782529905438]