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.00194/0.00194, allocations: 79.7 kB / 20.23 MB, free: 4.188 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.002043/0.002043, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 3.063/3.063, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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 4.098e-06/4.098e-06, allocations: 3.984 kB / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.785e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2184/0.2184, allocations: 159 MB / 0.966 GB, free: 2.672 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006729/0.2252, allocations: 3.556 MB / 0.9695 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000508/0.2257, allocations: 23.81 kB / 0.9695 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0009128/0.2266, allocations: 278.3 kB / 0.9698 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.229, allocations: 0.952 MB / 0.9707 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.2302, allocations: 462.6 kB / 0.9711 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.232, allocations: 1.149 MB / 0.9722 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004706/0.2324, allocations: 296.6 kB / 0.9725 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.2334, allocations: 0.5842 MB / 0.9731 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009688/0.2344, allocations: 335.8 kB / 0.9734 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-05/0.2345, allocations: 40 kB / 0.9735 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.2357, allocations: 0.5842 MB / 0.974 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.236, allocations: 191.4 kB / 0.9742 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.2362, allocations: 183.5 kB / 0.9744 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.2378, allocations: 0.954 MB / 0.9753 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2378, allocations: 0 / 0.9753 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2378, allocations: 0 / 0.9753 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.2378, allocations: 0 / 0.9753 GB, free: 9.098 MB / 0.9323 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.001767/0.2395, allocations: 0.9617 MB / 0.9763 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2396, allocations: 8.031 kB / 0.9763 GB, free: 8.09 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.2407, allocations: 183.4 kB / 0.9764 GB, free: 7.91 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009028/0.2416, allocations: 469 kB / 0.9769 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/0.2416, allocations: 20.66 kB / 0.9769 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.474e-05/0.2417, allocations: 28 kB / 0.9769 GB, free: 7.379 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.2424, allocations: 409.5 kB / 0.9773 GB, free: 6.941 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.2424, allocations: 0 / 0.9773 GB, free: 6.941 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.2424, allocations: 12 kB / 0.9773 GB, free: 6.93 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.2424, allocations: 16.64 kB / 0.9774 GB, free: 6.914 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.2429, allocations: 170.5 kB / 0.9775 GB, free: 6.746 MB / 0.9323 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.002147/0.245, allocations: 1.121 MB / 0.9786 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.2455, allocations: 191.1 kB / 0.9788 GB, free: 5.387 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.2456, allocations: 87.83 kB / 0.9789 GB, free: 5.297 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.2457, allocations: 12 kB / 0.9789 GB, free: 5.285 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004379/0.2461, allocations: 252.2 kB / 0.9791 GB, free: 5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.2461, allocations: 0 / 0.9791 GB, free: 5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=29): time 0.002984/0.2491, allocations: 0.9356 MB / 0.98 GB, free: 4.02 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.2491, allocations: 55.41 kB / 0.9801 GB, free: 3.953 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006858/0.2498, allocations: 0.5377 MB / 0.9806 GB, free: 3.402 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.2499, allocations: 33.7 kB / 0.9806 GB, free: 3.363 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.2502, allocations: 315.3 kB / 0.981 GB, free: 3.047 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2503, allocations: 115.1 kB / 0.9811 GB, free: 2.934 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.2505, allocations: 95.73 kB / 0.9812 GB, free: 2.832 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003506/0.2508, allocations: 0.5664 MB / 0.9817 GB, free: 2.254 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.251, allocations: 92.7 kB / 0.9818 GB, free: 2.164 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.2513, allocations: 171.7 kB / 0.982 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.2518, allocations: 284.4 kB / 0.9822 GB, free: 1.672 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2518, allocations: 4 kB / 0.9822 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00109/0.2529, allocations: 425.3 kB / 0.9826 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.2529, allocations: 11.94 kB / 0.9826 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2529, allocations: 0 / 0.9826 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005528/0.2535, allocations: 99.77 kB / 0.9827 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.2538, allocations: 67.84 kB / 0.9828 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.2561, allocations: 2.262 MB / 0.985 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.2565, allocations: 11.94 kB / 0.985 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.2565, allocations: 15.98 kB / 0.985 GB, free: 14.65 MB / 0.948 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.0002537/0.2568, allocations: 204.5 kB / 0.9852 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2569, allocations: 55.72 kB / 0.9853 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000932/0.2578, allocations: 355.1 kB / 0.9856 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.2578, allocations: 4 kB / 0.9856 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2578, allocations: 4 kB / 0.9856 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2578, allocations: 3.938 kB / 0.9856 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.2596, allocations: 0.9037 MB / 0.9865 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2596, allocations: 0 / 0.9865 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.26, allocations: 63.91 kB / 0.9866 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004713/0.2605, allocations: 95.56 kB / 0.9867 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.2605, allocations: 11.92 kB / 0.9867 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.2623, allocations: 1.9 MB / 0.9885 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2623, allocations: 4.031 kB / 0.9885 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.2635, allocations: 0.5709 MB / 0.9891 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.2637, allocations: 71.69 kB / 0.9892 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.2637, allocations: 11.98 kB / 0.9892 GB, free: 10.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.2641, allocations: 8 kB / 0.9892 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.2641, allocations: 27.89 kB / 0.9892 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.2642, allocations: 12 kB / 0.9892 GB, free: 10.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004878/0.2647, allocations: 339 kB / 0.9896 GB, free: 9.809 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2647, allocations: 4 kB / 0.9896 GB, free: 9.805 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000553/0.2652, allocations: 123.9 kB / 0.9897 GB, free: 9.684 MB / 0.948 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.003003/0.2682, allocations: 470 kB / 0.9901 GB, free: 9.406 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008792/0.2691, allocations: 448.9 kB / 0.9906 GB, free: 8.949 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2691, allocations: 0 / 0.9906 GB, free: 8.949 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.2695, allocations: 301.9 kB / 0.9908 GB, free: 8.633 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.2708, allocations: 261.6 kB / 0.9911 GB, free: 8.391 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.2727, allocations: 0.8888 MB / 0.992 GB, free: 7.465 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.273, allocations: 251.9 kB / 0.9922 GB, free: 7.195 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002823/0.2733, allocations: 76.33 kB / 0.9923 GB, free: 7.121 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.2734, allocations: 36.5 kB / 0.9923 GB, free: 7.086 MB / 0.948 GB Notification: Performance of SimCode: time 7.22e-07/0.2734, allocations: 0 / 0.9923 GB, free: 7.086 MB / 0.948 GB Notification: Performance of Templates: time 0.01916/0.2925, allocations: 9.65 MB / 1.002 GB, free: 13.66 MB / 0.9636 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 240] 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.749192195013165]