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.00132/0.00132, allocations: 106.7 kB / 16.45 MB, free: 6.02 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.001434/0.001434, allocations: 205.7 kB / 19.42 MB, free: 3.516 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.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.312/3.312, allocations: 0.4899 GB / 0.7915 GB, free: 33.46 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.002204/0.002204, allocations: 65.22 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.384, allocations: 176.1 MB / 1.321 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2131/0.5972, allocations: 166.4 MB / 1.484 GB, free: 11.88 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006895/0.6041, allocations: 3.576 MB / 1.487 GB, free: 8.293 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006722/0.6048, allocations: 23.81 kB / 1.487 GB, free: 8.27 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.6058, allocations: 286.4 kB / 1.487 GB, free: 7.988 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.6084, allocations: 0.9178 MB / 1.488 GB, free: 7.066 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.6097, allocations: 453 kB / 1.489 GB, free: 6.625 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.6116, allocations: 1.101 MB / 1.49 GB, free: 5.52 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005189/0.6122, allocations: 284.2 kB / 1.49 GB, free: 5.238 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.6132, allocations: 470.2 kB / 1.491 GB, free: 4.777 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.6143, allocations: 376.5 kB / 1.491 GB, free: 4.41 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-05/0.6144, allocations: 44 kB / 1.491 GB, free: 4.367 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.6162, allocations: 0.7404 MB / 1.492 GB, free: 3.625 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.6164, allocations: 175.3 kB / 1.492 GB, free: 3.453 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003148/0.6167, allocations: 274.7 kB / 1.492 GB, free: 3.184 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.6183, allocations: 0.9497 MB / 1.493 GB, free: 2.23 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6183, allocations: 0 / 1.493 GB, free: 2.23 MB / 1.186 GB Notification: Performance of FrontEnd: time 5.701e-06/0.6183, allocations: 4 kB / 1.493 GB, free: 2.227 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.6183, allocations: 0 / 1.493 GB, free: 2.227 MB / 1.186 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.001712/0.62, allocations: 0.8905 MB / 1.494 GB, free: 1.281 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.62, allocations: 15.98 kB / 1.494 GB, free: 1.266 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.6212, allocations: 159.5 kB / 1.494 GB, free: 1.109 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008525/0.622, allocations: 0.509 MB / 1.495 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.6221, allocations: 20.56 kB / 1.495 GB, free: 0.543 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.6221, allocations: 28 kB / 1.495 GB, free: 0.5156 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005794/0.6227, allocations: 319.7 kB / 1.495 GB, free: 196 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.6227, allocations: 0 / 1.495 GB, free: 196 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.6227, allocations: 8 kB / 1.495 GB, free: 188 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.6228, allocations: 16.56 kB / 1.495 GB, free: 172 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.6232, allocations: 226 kB / 1.495 GB, free: 15.95 MB / 1.201 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.00218/0.6254, allocations: 1.53 MB / 1.497 GB, free: 14.26 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.6258, allocations: 210 kB / 1.497 GB, free: 14.05 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.626, allocations: 110.3 kB / 1.497 GB, free: 13.94 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.6261, allocations: 4 kB / 1.497 GB, free: 13.93 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.6264, allocations: 163.2 kB / 1.497 GB, free: 13.76 MB / 1.201 GB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.6264, allocations: 0 / 1.497 GB, free: 13.76 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.003028/0.6294, allocations: 1.093 MB / 1.498 GB, free: 12.61 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.6295, allocations: 63.33 kB / 1.498 GB, free: 12.54 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005944/0.6301, allocations: 469.9 kB / 1.499 GB, free: 12.08 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.6301, allocations: 29.7 kB / 1.499 GB, free: 12.04 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.6303, allocations: 244.5 kB / 1.499 GB, free: 11.8 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.6304, allocations: 111 kB / 1.499 GB, free: 11.69 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.6306, allocations: 74.02 kB / 1.499 GB, free: 11.61 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.6307, allocations: 358.8 kB / 1.5 GB, free: 11.25 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.631, allocations: 128.7 kB / 1.5 GB, free: 11.12 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.6313, allocations: 186.8 kB / 1.5 GB, free: 10.93 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.6318, allocations: 307.4 kB / 1.5 GB, free: 10.61 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6318, allocations: 0 / 1.5 GB, free: 10.61 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001031/0.6328, allocations: 0.4906 MB / 1.501 GB, free: 10.11 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.6328, allocations: 8 kB / 1.501 GB, free: 10.1 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6328, allocations: 0 / 1.501 GB, free: 10.1 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/0.6332, allocations: 80.8 kB / 1.501 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.6335, allocations: 63.91 kB / 1.501 GB, free: 9.957 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.6356, allocations: 1.908 MB / 1.503 GB, free: 7.914 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.6359, allocations: 12.03 kB / 1.503 GB, free: 7.902 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.6359, allocations: 15.94 kB / 1.503 GB, free: 7.887 MB / 1.201 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.0002538/0.6362, allocations: 197.8 kB / 1.503 GB, free: 7.684 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.279e-05/0.6363, allocations: 51.61 kB / 1.503 GB, free: 7.633 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.6364, allocations: 52.66 kB / 1.503 GB, free: 7.582 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6364, allocations: 0 / 1.503 GB, free: 7.582 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6364, allocations: 8.062 kB / 1.503 GB, free: 7.574 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.6364, allocations: 3.984 kB / 1.503 GB, free: 7.57 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.6381, allocations: 0.9758 MB / 1.504 GB, free: 6.535 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.6381, allocations: 0 / 1.504 GB, free: 6.535 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.6385, allocations: 59.95 kB / 1.504 GB, free: 6.477 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003217/0.6388, allocations: 80.8 kB / 1.504 GB, free: 6.395 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.6388, allocations: 15.92 kB / 1.504 GB, free: 6.379 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.6405, allocations: 1.645 MB / 1.506 GB, free: 4.59 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6405, allocations: 0 / 1.506 GB, free: 4.59 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.6416, allocations: 0.5749 MB / 1.506 GB, free: 3.996 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.6418, allocations: 153.1 kB / 1.506 GB, free: 3.828 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.6418, allocations: 8 kB / 1.506 GB, free: 3.82 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.6422, allocations: 13.83 kB / 1.506 GB, free: 3.809 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.6423, allocations: 31.95 kB / 1.506 GB, free: 3.777 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.6423, allocations: 11.98 kB / 1.506 GB, free: 3.766 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004201/0.6427, allocations: 311.1 kB / 1.507 GB, free: 3.461 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6427, allocations: 0 / 1.507 GB, free: 3.461 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005657/0.6433, allocations: 127.9 kB / 1.507 GB, free: 3.336 MB / 1.201 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 (26): * Single equations (assignments): 23 * 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.001714/0.645, allocations: 438.9 kB / 1.507 GB, free: 3.055 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008211/0.6458, allocations: 406.4 kB / 1.508 GB, free: 2.645 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6458, allocations: 0 / 1.508 GB, free: 2.645 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.6462, allocations: 246.9 kB / 1.508 GB, free: 2.391 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.6474, allocations: 237.5 kB / 1.508 GB, free: 2.168 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.6494, allocations: 1.011 MB / 1.509 GB, free: 1.129 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/0.6499, allocations: 0.8578 MB / 1.51 GB, free: 248 kB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003467/0.6503, allocations: 92.31 kB / 1.51 GB, free: 156 kB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.6504, allocations: 35.44 kB / 1.51 GB, free: 120 kB / 1.201 GB Notification: Performance of SimCode: time 7.11e-07/0.6504, allocations: 0 / 1.51 GB, free: 120 kB / 1.201 GB Notification: Performance of Templates: time 0.01916/0.6696, allocations: 9.004 MB / 1.519 GB, free: 7.219 MB / 1.217 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.738554496783763]