Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 105 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 189.7 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 68.05 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8988/0.9001, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.2309/1.131, allocations: 209.5 MB / 1.372 GB, free: 1.543 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03243/1.164, allocations: 19.07 MB / 1.391 GB, free: 14.42 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006272/1.17, allocations: 99.5 kB / 1.391 GB, free: 14.32 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.007783/1.178, allocations: 2.097 MB / 1.393 GB, free: 12.22 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/1.19, allocations: 3.698 MB / 1.396 GB, free: 8.508 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.007861/1.197, allocations: 2.568 MB / 1.399 GB, free: 5.953 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.02373/1.221, allocations: 13.69 MB / 1.412 GB, free: 8.242 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007647/1.229, allocations: 4.009 MB / 1.416 GB, free: 4.164 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009825/1.239, allocations: 3.771 MB / 1.42 GB, free: 408 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006715/1.245, allocations: 3.082 MB / 1.423 GB, free: 13.3 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002083/1.248, allocations: 416 kB / 1.423 GB, free: 12.9 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009317/1.257, allocations: 2.644 MB / 1.426 GB, free: 10.25 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.003203/1.26, allocations: 1.344 MB / 1.427 GB, free: 8.902 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.006034/1.266, allocations: 2.391 MB / 1.429 GB, free: 6.5 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01523/1.281, allocations: 7.416 MB / 1.437 GB, free: 15.06 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.282, allocations: 0 / 1.437 GB, free: 15.06 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.565e-06/1.282, allocations: 4 kB / 1.437 GB, free: 15.06 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.000263/1.282, allocations: 0 / 1.437 GB, free: 15.06 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: 589 * Number of variables: 589 Notification: Performance of Generate backend data structure: time 0.01566/1.297, allocations: 4.975 MB / 1.441 GB, free: 10 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/1.298, allocations: 12.88 kB / 1.441 GB, free: 9.988 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007545/1.305, allocations: 1.056 MB / 1.443 GB, free: 8.926 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01456/1.32, allocations: 4.809 MB / 1.447 GB, free: 4.051 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002638/1.32, allocations: 180.5 kB / 1.447 GB, free: 3.871 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/1.321, allocations: 255.9 kB / 1.448 GB, free: 3.621 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008417/1.33, allocations: 3.194 MB / 1.451 GB, free: 280 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.046e-05/1.33, allocations: 7.938 kB / 1.451 GB, free: 272 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005497/1.33, allocations: 96 kB / 1.451 GB, free: 176 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/1.33, allocations: 104.3 kB / 1.451 GB, free: 68 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005567/1.336, allocations: 2.663 MB / 1.454 GB, free: 13.38 MB / 1.186 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.02645/1.363, allocations: 13.64 MB / 1.467 GB, free: 15.1 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/1.366, allocations: 2.126 MB / 1.469 GB, free: 12.89 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/1.368, allocations: 0.9447 MB / 1.47 GB, free: 11.95 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01239/1.38, allocations: 4.607 MB / 1.474 GB, free: 7.105 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001937/1.382, allocations: 0.9881 MB / 1.475 GB, free: 6.102 MB / 1.201 GB Notification: Performance of pre-optimization done (n=128): time 4.368e-06/1.382, allocations: 0 / 1.475 GB, free: 6.102 MB / 1.201 GB Notification: Performance of matching and sorting (n=131): time 0.01315/1.395, allocations: 5.493 MB / 1.481 GB, free: 448 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/1.395, allocations: 94.42 kB / 1.481 GB, free: 332 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007825/1.403, allocations: 3.639 MB / 1.484 GB, free: 12.7 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0005976/1.404, allocations: 61.7 kB / 1.484 GB, free: 12.64 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002161/1.406, allocations: 1.667 MB / 1.486 GB, free: 10.95 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007983/1.407, allocations: 477.4 kB / 1.486 GB, free: 10.48 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001371/1.408, allocations: 0.5238 MB / 1.487 GB, free: 9.949 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.408, allocations: 305.1 kB / 1.487 GB, free: 9.648 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/1.411, allocations: 1.194 MB / 1.488 GB, free: 8.445 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003181/1.414, allocations: 1.801 MB / 1.49 GB, free: 6.398 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004855/1.419, allocations: 2.779 MB / 1.493 GB, free: 3.391 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/1.419, allocations: 4 kB / 1.493 GB, free: 3.387 MB / 1.217 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.01258/1.432, allocations: 4.187 MB / 1.497 GB, free: 15.18 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/1.432, allocations: 12 kB / 1.497 GB, free: 15.17 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/1.432, allocations: 16 kB / 1.497 GB, free: 15.16 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007129/1.439, allocations: 1.083 MB / 1.498 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/1.442, allocations: 0.5109 MB / 1.499 GB, free: 13.55 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005825/1.447, allocations: 3.206 MB / 1.502 GB, free: 10.19 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00381/1.451, allocations: 187.9 kB / 1.502 GB, free: 10 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004986/1.452, allocations: 115.9 kB / 1.502 GB, free: 9.891 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004868/1.457, allocations: 2.144 MB / 1.504 GB, free: 7.738 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003038/1.46, allocations: 1.769 MB / 1.506 GB, free: 5.715 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004508/1.464, allocations: 2.688 MB / 1.508 GB, free: 2.797 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.542e-05/1.464, allocations: 4 kB / 1.508 GB, free: 2.793 MB / 1.232 GB Notification: Performance of matching and sorting (n=320) (initialization_lambda0): time 0.01199/1.476, allocations: 4.07 MB / 1.512 GB, free: 14.71 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.476, allocations: 14.19 kB / 1.512 GB, free: 14.7 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/1.476, allocations: 28.11 kB / 1.512 GB, free: 14.67 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007242/1.484, allocations: 1.079 MB / 1.514 GB, free: 13.58 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/1.486, allocations: 0.5031 MB / 1.514 GB, free: 13.08 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005981/1.492, allocations: 3.222 MB / 1.517 GB, free: 9.695 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003878/1.496, allocations: 184.4 kB / 1.517 GB, free: 9.516 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000472/1.496, allocations: 104 kB / 1.517 GB, free: 9.414 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,hysPum.y,$PRE.hysPum.y,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 (272): * Single equations (assignments): 268 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0009427/1.497, allocations: 324.7 kB / 1.518 GB, free: 9.09 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/1.499, allocations: 347.6 kB / 1.518 GB, free: 8.746 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005273/1.504, allocations: 2.278 MB / 1.52 GB, free: 6.441 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/1.504, allocations: 23.97 kB / 1.52 GB, free: 6.418 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/1.504, allocations: 4 kB / 1.52 GB, free: 6.414 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003376/1.507, allocations: 1.959 MB / 1.522 GB, free: 4.367 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/1.519, allocations: 5.219 MB / 1.527 GB, free: 15.07 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.519, allocations: 3.938 kB / 1.527 GB, free: 15.06 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/1.52, allocations: 295.7 kB / 1.528 GB, free: 14.77 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000823/1.521, allocations: 260.9 kB / 1.528 GB, free: 14.5 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.521, allocations: 43.97 kB / 1.528 GB, free: 14.46 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007214/1.528, allocations: 9.296 MB / 1.537 GB, free: 4.316 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.528, allocations: 0 / 1.537 GB, free: 4.316 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006538/1.535, allocations: 3.184 MB / 1.54 GB, free: 1.078 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/1.537, allocations: 0.6529 MB / 1.541 GB, free: 412 kB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/1.538, allocations: 39.92 kB / 1.541 GB, free: 372 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002557/1.541, allocations: 103.9 kB / 1.541 GB, free: 268 kB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/1.541, allocations: 109 kB / 1.541 GB, free: 156 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002143/1.541, allocations: 67.94 kB / 1.541 GB, free: 88 kB / 1.264 GB Notification: Performance of sorting global known variables: time 0.005539/1.547, allocations: 2.449 MB / 1.543 GB, free: 13.66 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.6e-07/1.547, allocations: 4 kB / 1.543 GB, free: 13.65 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.007954/1.555, allocations: 1.722 MB / 1.545 GB, free: 11.93 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.s[1],pumRad.filter.s[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002973/1.558, allocations: 0.9971 MB / 1.546 GB, free: 11.07 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01287/1.571, allocations: 4.701 MB / 1.551 GB, free: 6.355 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/1.571, allocations: 8.5 kB / 1.551 GB, free: 6.344 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/1.573, allocations: 1.567 MB / 1.552 GB, free: 4.699 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009545/1.583, allocations: 1.975 MB / 1.554 GB, free: 2.77 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7537/2.337, allocations: 7.204 MB / 1.561 GB, free: 373.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002505/2.339, allocations: 2.523 MB / 1.564 GB, free: 373.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/2.34, allocations: 300.7 kB / 1.564 GB, free: 373.1 MB / 1.279 GB Notification: Performance of SimCode: time 1.162e-06/2.34, allocations: 0 / 1.564 GB, free: 373.1 MB / 1.279 GB Notification: Performance of Templates: time 0.1337/2.474, allocations: 138.1 MB / 1.699 GB, free: 248.4 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_10_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.Boiler.System2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_Boiler_System2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches