Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00178/0.00178, allocations: 83.69 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.001861/0.001861, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.644/1.644, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.908/2.908, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.25e-06, allocations: 4 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.773e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2244/0.2245, allocations: 158.9 MB / 0.9415 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.006773/0.2312, allocations: 3.553 MB / 0.945 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004836/0.2317, allocations: 23.81 kB / 0.945 GB, free: 9.828 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000907/0.2326, allocations: 266.4 kB / 0.9453 GB, free: 9.566 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.235, allocations: 0.9521 MB / 0.9462 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.2361, allocations: 454.6 kB / 0.9467 GB, free: 8.164 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.2377, allocations: 1.157 MB / 0.9478 GB, free: 7.004 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.2381, allocations: 296.7 kB / 0.9481 GB, free: 6.711 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008878/0.239, allocations: 0.5453 MB / 0.9486 GB, free: 6.164 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009779/0.24, allocations: 333.1 kB / 0.9489 GB, free: 5.844 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 9.4e-05/0.2401, allocations: 40 kB / 0.949 GB, free: 5.805 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.2413, allocations: 0.5958 MB / 0.9495 GB, free: 5.207 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.2416, allocations: 187.4 kB / 0.9497 GB, free: 5.023 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.2418, allocations: 191.5 kB / 0.9499 GB, free: 4.836 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.2434, allocations: 0.9424 MB / 0.9508 GB, free: 3.891 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.2434, allocations: 4 kB / 0.9508 GB, free: 3.887 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2434, allocations: 3.938 kB / 0.9508 GB, free: 3.883 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.2434, allocations: 0 / 0.9508 GB, free: 3.883 MB / 0.9011 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.001929/0.2454, allocations: 0.9539 MB / 0.9518 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2454, allocations: 12.03 kB / 0.9518 GB, free: 2.875 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.2465, allocations: 195.3 kB / 0.952 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009245/0.2474, allocations: 457 kB / 0.9524 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.2474, allocations: 20.66 kB / 0.9524 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.395e-05/0.2475, allocations: 28 kB / 0.9524 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007008/0.2482, allocations: 409.5 kB / 0.9528 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.2482, allocations: 0 / 0.9528 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.2483, allocations: 12 kB / 0.9528 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.2483, allocations: 16.64 kB / 0.9529 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.2487, allocations: 174.5 kB / 0.953 GB, free: 1.527 MB / 0.9011 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.002143/0.2508, allocations: 1.125 MB / 0.9541 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000408/0.2512, allocations: 191.2 kB / 0.9543 GB, free: 168 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.2514, allocations: 87.66 kB / 0.9544 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.2515, allocations: 4 kB / 0.9544 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.2518, allocations: 253.6 kB / 0.9546 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.2518, allocations: 0 / 0.9546 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29): time 0.00296/0.2548, allocations: 0.9316 MB / 0.9555 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.2549, allocations: 55.41 kB / 0.9556 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006915/0.2555, allocations: 0.5493 MB / 0.9561 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.2556, allocations: 29.7 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.2559, allocations: 315.3 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.256, allocations: 119 kB / 0.9566 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.2562, allocations: 99.72 kB / 0.9567 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003542/0.2566, allocations: 0.5586 MB / 0.9572 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.2568, allocations: 88.7 kB / 0.9573 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.2571, allocations: 183.6 kB / 0.9575 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.2576, allocations: 280.4 kB / 0.9577 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2576, allocations: 0 / 0.9577 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00103/0.2586, allocations: 425.2 kB / 0.9581 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2587, allocations: 12.09 kB / 0.9582 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2587, allocations: 0 / 0.9582 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005511/0.2592, allocations: 99.61 kB / 0.9583 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.2595, allocations: 67.91 kB / 0.9583 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.262, allocations: 2.255 MB / 0.9605 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.2624, allocations: 15.94 kB / 0.9605 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.2624, allocations: 20.03 kB / 0.9606 GB, free: 9.438 MB / 0.9167 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.0002756/0.2627, allocations: 210.7 kB / 0.9608 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.2628, allocations: 55.72 kB / 0.9608 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009521/0.2637, allocations: 351 kB / 0.9611 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2637, allocations: 4 kB / 0.9611 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2638, allocations: 0 / 0.9611 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2638, allocations: 8 kB / 0.9612 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.2656, allocations: 0.8922 MB / 0.962 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2656, allocations: 0 / 0.962 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.266, allocations: 59.97 kB / 0.9621 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.2664, allocations: 91.55 kB / 0.9622 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.2665, allocations: 19.92 kB / 0.9622 GB, free: 7.691 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.2683, allocations: 1.904 MB / 0.9641 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2683, allocations: 144 / 0.9641 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.2695, allocations: 0.5749 MB / 0.9646 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.2697, allocations: 71.69 kB / 0.9647 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.2698, allocations: 19.95 kB / 0.9647 GB, free: 4.969 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.2701, allocations: 8 kB / 0.9647 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.2702, allocations: 27.89 kB / 0.9647 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.2702, allocations: 8 kB / 0.9647 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004478/0.2707, allocations: 343 kB / 0.9651 GB, free: 4.594 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.2707, allocations: 0 / 0.9651 GB, free: 4.594 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005761/0.2713, allocations: 131.9 kB / 0.9652 GB, free: 4.465 MB / 0.9167 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.003049/0.2743, allocations: 452.5 kB / 0.9656 GB, free: 4.195 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009843/0.2753, allocations: 436.6 kB / 0.966 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.2753, allocations: 4.312 kB / 0.966 GB, free: 3.746 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.2757, allocations: 313.8 kB / 0.9663 GB, free: 3.418 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.277, allocations: 261.9 kB / 0.9666 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.279, allocations: 0.8966 MB / 0.9675 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.2793, allocations: 247.9 kB / 0.9677 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.2796, allocations: 72.33 kB / 0.9678 GB, free: 1.906 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.2797, allocations: 40.5 kB / 0.9678 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of SimCode: time 1.142e-06/0.2797, allocations: 4 kB / 0.9678 GB, free: 1.863 MB / 0.9167 GB Notification: Performance of Templates: time 0.01956/0.2993, allocations: 9.623 MB / 0.9772 GB, free: 8.453 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_11_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.62877050600946]