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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 190.5 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 250.8 MB, free: 13.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.207/3.207, allocations: 495.8 MB / 0.783 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003412/0.003412, allocations: 68.27 kB / 1.137 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3933, allocations: 173.6 MB / 1.307 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2107/0.604, allocations: 161.9 MB / 1.465 GB, free: 15.38 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007166/0.6112, allocations: 3.503 MB / 1.468 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009533/0.6121, allocations: 23.81 kB / 1.468 GB, free: 11.85 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009904/0.6131, allocations: 286.5 kB / 1.468 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.6158, allocations: 0.9023 MB / 1.469 GB, free: 10.66 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.6172, allocations: 494.8 kB / 1.47 GB, free: 10.18 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00178/0.619, allocations: 1.134 MB / 1.471 GB, free: 9.043 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005041/0.6195, allocations: 276.7 kB / 1.471 GB, free: 8.766 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.6206, allocations: 474.2 kB / 1.472 GB, free: 8.301 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.622, allocations: 374.2 kB / 1.472 GB, free: 7.938 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.6221, allocations: 40 kB / 1.472 GB, free: 7.898 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.624, allocations: 0.5766 MB / 1.473 GB, free: 7.32 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002992/0.6243, allocations: 175.4 kB / 1.473 GB, free: 7.148 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.6247, allocations: 278.6 kB / 1.473 GB, free: 6.875 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.6267, allocations: 0.9108 MB / 1.474 GB, free: 5.961 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.6267, allocations: 4 kB / 1.474 GB, free: 5.957 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6267, allocations: 0 / 1.474 GB, free: 5.957 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.6267, allocations: 0 / 1.474 GB, free: 5.957 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.001626/0.6283, allocations: 0.8153 MB / 1.475 GB, free: 5.109 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.6284, allocations: 8.031 kB / 1.475 GB, free: 5.102 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.6295, allocations: 159.5 kB / 1.475 GB, free: 4.945 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009696/0.6305, allocations: 446.2 kB / 1.475 GB, free: 4.484 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/0.6305, allocations: 20.66 kB / 1.475 GB, free: 4.465 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.966e-05/0.6306, allocations: 24 kB / 1.475 GB, free: 4.441 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.6312, allocations: 329 kB / 1.476 GB, free: 4.105 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.6312, allocations: 0 / 1.476 GB, free: 4.105 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.6313, allocations: 15.98 kB / 1.476 GB, free: 4.09 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.6313, allocations: 12.59 kB / 1.476 GB, free: 4.078 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.6318, allocations: 222.5 kB / 1.476 GB, free: 3.863 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.002315/0.6341, allocations: 1.481 MB / 1.477 GB, free: 2.23 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.6345, allocations: 219.3 kB / 1.478 GB, free: 2.012 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.6347, allocations: 100.8 kB / 1.478 GB, free: 1.91 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.6348, allocations: 4 kB / 1.478 GB, free: 1.906 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003753/0.6351, allocations: 168.9 kB / 1.478 GB, free: 1.73 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 1.763e-06/0.6351, allocations: 4 kB / 1.478 GB, free: 1.727 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.003133/0.6383, allocations: 1.013 MB / 1.479 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.6383, allocations: 59.34 kB / 1.479 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005928/0.6389, allocations: 465.9 kB / 1.479 GB, free: 148 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.639, allocations: 29.7 kB / 1.479 GB, free: 112 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.6392, allocations: 240.6 kB / 1.48 GB, free: 15.87 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.6393, allocations: 107.1 kB / 1.48 GB, free: 15.76 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.6395, allocations: 74.02 kB / 1.48 GB, free: 15.68 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.6397, allocations: 358.8 kB / 1.48 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.6399, allocations: 124.7 kB / 1.48 GB, free: 15.2 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.6402, allocations: 182.7 kB / 1.48 GB, free: 15.01 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.6407, allocations: 307.9 kB / 1.481 GB, free: 14.69 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6407, allocations: 0 / 1.481 GB, free: 14.69 MB / 1.186 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001079/0.6418, allocations: 494.3 kB / 1.481 GB, free: 14.2 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6418, allocations: 8 kB / 1.481 GB, free: 14.19 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6419, allocations: 0 / 1.481 GB, free: 14.19 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003938/0.6422, allocations: 84.95 kB / 1.481 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.6425, allocations: 67.91 kB / 1.481 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.6447, allocations: 1.808 MB / 1.483 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.645, allocations: 12.02 kB / 1.483 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.6451, allocations: 16 kB / 1.483 GB, free: 12.09 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.000264/0.6453, allocations: 192.8 kB / 1.483 GB, free: 11.89 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-05/0.6454, allocations: 51.66 kB / 1.483 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009464/0.6464, allocations: 394.9 kB / 1.484 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6464, allocations: 4 kB / 1.484 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6464, allocations: 7.938 kB / 1.484 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.6464, allocations: 11.92 kB / 1.484 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.6482, allocations: 0.9442 MB / 1.485 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6482, allocations: 0 / 1.485 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.6485, allocations: 63.91 kB / 1.485 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003261/0.6489, allocations: 80.78 kB / 1.485 GB, free: 10.28 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.6489, allocations: 8 kB / 1.485 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.6506, allocations: 1.549 MB / 1.486 GB, free: 8.605 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6506, allocations: 0 / 1.486 GB, free: 8.605 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.6517, allocations: 0.5788 MB / 1.487 GB, free: 8.008 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.6519, allocations: 71.72 kB / 1.487 GB, free: 7.938 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.652, allocations: 12 kB / 1.487 GB, free: 7.926 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.6524, allocations: 11.98 kB / 1.487 GB, free: 7.914 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.6524, allocations: 23.97 kB / 1.487 GB, free: 7.891 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.6525, allocations: 11.98 kB / 1.487 GB, free: 7.879 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000409/0.6529, allocations: 311.1 kB / 1.487 GB, free: 7.578 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6529, allocations: 0 / 1.487 GB, free: 7.578 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005765/0.6534, allocations: 120 kB / 1.487 GB, free: 7.461 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 (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.001647/0.6551, allocations: 445.7 kB / 1.488 GB, free: 7.176 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008532/0.6559, allocations: 398.5 kB / 1.488 GB, free: 6.773 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6559, allocations: 0 / 1.488 GB, free: 6.773 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.6563, allocations: 250.8 kB / 1.488 GB, free: 6.516 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.6575, allocations: 236.5 kB / 1.489 GB, free: 6.293 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.6595, allocations: 1.009 MB / 1.49 GB, free: 5.254 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.6601, allocations: 0.8465 MB / 1.491 GB, free: 4.383 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003184/0.6604, allocations: 84.33 kB / 1.491 GB, free: 4.301 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.6605, allocations: 39.42 kB / 1.491 GB, free: 4.262 MB / 1.186 GB Notification: Performance of SimCode: time 7.62e-07/0.6605, allocations: 0 / 1.491 GB, free: 4.262 MB / 1.186 GB Notification: Performance of Templates: time 0.01839/0.6789, allocations: 9.136 MB / 1.5 GB, free: 11.25 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.53537951875478]