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.001418/0.001418, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001579/0.001579, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 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.454/1.454, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.869/2.869, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.888e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2097/0.2098, allocations: 143.6 MB / 0.951 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.006627/0.2164, allocations: 3.348 MB / 0.9542 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005556/0.2169, allocations: 27.81 kB / 0.9543 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0009613/0.2179, allocations: 274.3 kB / 0.9545 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.2205, allocations: 0.9444 MB / 0.9555 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.2217, allocations: 462.6 kB / 0.9559 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.2235, allocations: 1.156 MB / 0.957 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005624/0.2241, allocations: 296.6 kB / 0.9573 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.2253, allocations: 0.5843 MB / 0.9579 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.2264, allocations: 320.5 kB / 0.9582 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.2265, allocations: 40 kB / 0.9582 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.2278, allocations: 0.5919 MB / 0.9588 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002794/0.2281, allocations: 187.4 kB / 0.959 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.2284, allocations: 183.5 kB / 0.9592 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.2301, allocations: 0.9463 MB / 0.9601 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2301, allocations: 0 / 0.9601 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2301, allocations: 7.938 kB / 0.9601 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.2301, allocations: 4 kB / 0.9601 GB, free: 8.742 MB / 0.9167 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.001806/0.2319, allocations: 0.8036 MB / 0.9609 GB, free: 7.906 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.232, allocations: 12.03 kB / 0.9609 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.2332, allocations: 195.3 kB / 0.9611 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009845/0.2341, allocations: 470.2 kB / 0.9615 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.2342, allocations: 20.66 kB / 0.9615 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.318e-05/0.2343, allocations: 39.98 kB / 0.9616 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007471/0.235, allocations: 415.9 kB / 0.962 GB, free: 6.723 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.235, allocations: 8 kB / 0.962 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.2351, allocations: 8 kB / 0.962 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.2351, allocations: 16.64 kB / 0.962 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/0.2356, allocations: 222.4 kB / 0.9622 GB, free: 6.473 MB / 0.9167 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.002197/0.2378, allocations: 0.9216 MB / 0.9631 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.2383, allocations: 222.7 kB / 0.9633 GB, free: 5.289 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.2385, allocations: 104.8 kB / 0.9634 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.2385, allocations: 4 kB / 0.9634 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004417/0.239, allocations: 268.9 kB / 0.9637 GB, free: 4.883 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=26): time 1.863e-06/0.239, allocations: 0 / 0.9637 GB, free: 4.883 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29): time 0.003378/0.2423, allocations: 1.027 MB / 0.9647 GB, free: 3.816 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.2424, allocations: 55.41 kB / 0.9647 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/0.2431, allocations: 469.9 kB / 0.9652 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/0.2431, allocations: 37.69 kB / 0.9652 GB, free: 3.234 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.2434, allocations: 240.5 kB / 0.9655 GB, free: 2.992 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.2435, allocations: 107.1 kB / 0.9656 GB, free: 2.887 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.2437, allocations: 78.02 kB / 0.9656 GB, free: 2.805 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002387/0.2439, allocations: 362.7 kB / 0.966 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.2442, allocations: 124.7 kB / 0.9661 GB, free: 2.32 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.2446, allocations: 186.6 kB / 0.9663 GB, free: 2.121 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.2452, allocations: 315.4 kB / 0.9666 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2452, allocations: 0 / 0.9666 GB, free: 1.797 MB / 0.9167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001186/0.2464, allocations: 0.4986 MB / 0.9671 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.2464, allocations: 15.94 kB / 0.9671 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2465, allocations: 0 / 0.9671 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005712/0.247, allocations: 120.8 kB / 0.9672 GB, free: 1.152 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.2473, allocations: 63.91 kB / 0.9673 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.2496, allocations: 1.77 MB / 0.969 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.25, allocations: 12.03 kB / 0.969 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.25, allocations: 16.06 kB / 0.969 GB, free: 15.2 MB / 0.9323 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.000301/0.2503, allocations: 201.7 kB / 0.9692 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.2504, allocations: 55.72 kB / 0.9693 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.2515, allocations: 403.8 kB / 0.9696 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2515, allocations: 4 kB / 0.9696 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2515, allocations: 4 kB / 0.9696 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.2515, allocations: 3.984 kB / 0.9697 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.2533, allocations: 0.8509 MB / 0.9705 GB, free: 13.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2533, allocations: 0 / 0.9705 GB, free: 13.63 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.2537, allocations: 63.97 kB / 0.9705 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004936/0.2542, allocations: 112.7 kB / 0.9707 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.2542, allocations: 16.05 kB / 0.9707 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.256, allocations: 1.522 MB / 0.9722 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.256, allocations: 0 / 0.9722 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.2572, allocations: 0.5912 MB / 0.9727 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.2574, allocations: 83.72 kB / 0.9728 GB, free: 11.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/0.2575, allocations: 7.938 kB / 0.9728 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.2578, allocations: 8 kB / 0.9728 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.2579, allocations: 27.89 kB / 0.9729 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.258, allocations: 11.98 kB / 0.9729 GB, free: 11.06 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004336/0.2584, allocations: 311.1 kB / 0.9732 GB, free: 10.76 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.2584, allocations: 0 / 0.9732 GB, free: 10.76 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005835/0.259, allocations: 127.9 kB / 0.9733 GB, free: 10.63 MB / 0.9323 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.002166/0.2611, allocations: 476.3 kB / 0.9737 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008741/0.262, allocations: 402 kB / 0.9741 GB, free: 9.941 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.262, allocations: 4.062 kB / 0.9741 GB, free: 9.938 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.2624, allocations: 254.9 kB / 0.9744 GB, free: 9.676 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.2637, allocations: 243.8 kB / 0.9746 GB, free: 9.449 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.2656, allocations: 0.9375 MB / 0.9755 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.2659, allocations: 247.9 kB / 0.9758 GB, free: 8.219 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000361/0.2662, allocations: 88.31 kB / 0.9758 GB, free: 8.129 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.2664, allocations: 40.5 kB / 0.9759 GB, free: 8.09 MB / 0.9323 GB Notification: Performance of SimCode: time 7.81e-07/0.2664, allocations: 4 kB / 0.9759 GB, free: 8.086 MB / 0.9323 GB Notification: Performance of Templates: time 0.01901/0.2854, allocations: 9.464 MB / 0.9851 GB, free: 14.85 MB / 0.948 GB " [Timeout remaining time 300] 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: 8.170717170927674]