Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001127/0.001127, allocations: 98.64 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.631/2.631, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 12.06 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3053, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.9438/1.249, allocations: 204.1 MB / 1.259 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03514/1.284, allocations: 19.02 MB / 1.277 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006316/1.291, allocations: 85.31 kB / 1.277 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01409/1.305, allocations: 4.272 MB / 1.281 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/1.315, allocations: 3.182 MB / 1.285 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008092/1.323, allocations: 2.242 MB / 1.287 GB, free: 2.59 MB / 0.9981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0009566033997876149}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02536/1.349, allocations: 16.6 MB / 1.303 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006278/1.355, allocations: 3.242 MB / 1.306 GB, free: 18.05 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008359/1.364, allocations: 2.83 MB / 1.309 GB, free: 18.04 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007304/1.371, allocations: 2.877 MB / 1.312 GB, free: 18.03 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001533/1.372, allocations: 149.1 kB / 1.312 GB, free: 18.03 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008847/1.381, allocations: 2.485 MB / 1.314 GB, free: 17.99 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002451/1.384, allocations: 1.039 MB / 1.315 GB, free: 17.99 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005259/1.389, allocations: 2.053 MB / 1.317 GB, free: 17.4 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009286/1.398, allocations: 5.681 MB / 1.323 GB, free: 17.01 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.398, allocations: 0 / 1.323 GB, free: 17.01 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.026e-06/1.398, allocations: 3.375 kB / 1.323 GB, free: 17.01 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003617/1.399, allocations: 0 / 1.323 GB, free: 17.01 MB / 1.014 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.01247/1.411, allocations: 4.128 MB / 1.327 GB, free: 15.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.411, allocations: 13.41 kB / 1.327 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007967/1.419, allocations: 1.091 MB / 1.328 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/1.433, allocations: 4.949 MB / 1.333 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/1.434, allocations: 194.8 kB / 1.333 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001269/1.435, allocations: 254.9 kB / 1.333 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008599/1.444, allocations: 3.197 MB / 1.336 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/1.444, allocations: 10.39 kB / 1.336 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006286/1.445, allocations: 99.72 kB / 1.336 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/1.445, allocations: 98.5 kB / 1.337 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00619/1.451, allocations: 2.677 MB / 1.339 GB, free: 11.61 MB / 1.014 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.02577/1.477, allocations: 13.53 MB / 1.352 GB, free: 3.75 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/1.48, allocations: 2.149 MB / 1.354 GB, free: 2.984 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/1.482, allocations: 0.9478 MB / 1.355 GB, free: 2.832 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/1.494, allocations: 4.525 MB / 1.36 GB, free: 428 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001987/1.496, allocations: 0.9892 MB / 1.361 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001761/1.498, allocations: 184.5 kB / 1.361 GB, free: 15.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=129): time 6.643e-06/1.498, allocations: 0 / 1.361 GB, free: 15.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=132): time 0.01377/1.512, allocations: 5.454 MB / 1.366 GB, free: 12.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/1.512, allocations: 98.33 kB / 1.366 GB, free: 12.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008202/1.52, allocations: 3.499 MB / 1.37 GB, free: 10.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004908/1.521, allocations: 64.48 kB / 1.37 GB, free: 10.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.002356/1.523, allocations: 1.666 MB / 1.372 GB, free: 8.996 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007659/1.524, allocations: 481.8 kB / 1.372 GB, free: 8.594 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005698/1.525, allocations: 240.4 kB / 1.372 GB, free: 8.453 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.525, allocations: 305.1 kB / 1.372 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002863/1.528, allocations: 1.191 MB / 1.374 GB, free: 7.559 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003295/1.531, allocations: 1.817 MB / 1.375 GB, free: 6.203 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005324/1.536, allocations: 2.794 MB / 1.378 GB, free: 3.895 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.662e-05/1.536, allocations: 4 kB / 1.378 GB, free: 3.891 MB / 1.029 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.0106/1.547, allocations: 3.921 MB / 1.382 GB, free: 56 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004864/1.547, allocations: 0.5857 MB / 1.383 GB, free: 15.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.86e-05/1.547, allocations: 19.94 kB / 1.383 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007581/1.555, allocations: 1.178 MB / 1.384 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/1.558, allocations: 0.5178 MB / 1.384 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006138/1.564, allocations: 3.136 MB / 1.387 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00465/1.568, allocations: 256.1 kB / 1.388 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006381/1.569, allocations: 115.9 kB / 1.388 GB, free: 9.926 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.569, allocations: 4 kB / 1.388 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00994/1.579, allocations: 3.502 MB / 1.391 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.176e-05/1.579, allocations: 17 kB / 1.391 GB, free: 6.504 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007515/1.587, allocations: 1.202 MB / 1.392 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/1.589, allocations: 0.51 MB / 1.393 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006059/1.595, allocations: 3.138 MB / 1.396 GB, free: 1.539 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00368/1.599, allocations: 252.4 kB / 1.396 GB, free: 1.293 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004696/1.599, allocations: 108 kB / 1.396 GB, free: 1.188 MB / 1.045 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 (273): * Single equations (assignments): 269 * 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 {(5,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002668/1.602, allocations: 1.203 MB / 1.397 GB, free: 8 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/1.604, allocations: 345.8 kB / 1.398 GB, free: 15.67 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005612/1.609, allocations: 2.282 MB / 1.4 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/1.609, allocations: 16 kB / 1.4 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/1.609, allocations: 0 / 1.4 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003647/1.613, allocations: 1.959 MB / 1.402 GB, free: 11.32 MB / 1.061 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 postOpt removeSimpleEquations (simulation): time 0.01236/1.625, allocations: 5.163 MB / 1.407 GB, free: 6.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/1.625, allocations: 6.656 kB / 1.407 GB, free: 6.113 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/1.627, allocations: 290 kB / 1.407 GB, free: 5.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008523/1.628, allocations: 267.4 kB / 1.407 GB, free: 5.562 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/1.628, allocations: 47.91 kB / 1.407 GB, free: 5.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007123/1.635, allocations: 8.686 MB / 1.416 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.635, allocations: 0 / 1.416 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006561/1.642, allocations: 3.186 MB / 1.419 GB, free: 8.863 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002163/1.644, allocations: 0.6449 MB / 1.42 GB, free: 8.195 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/1.645, allocations: 39.98 kB / 1.42 GB, free: 8.156 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003206/1.648, allocations: 172 kB / 1.42 GB, free: 7.988 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/1.649, allocations: 103.7 kB / 1.42 GB, free: 7.887 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002596/1.649, allocations: 71.94 kB / 1.42 GB, free: 7.816 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00567/1.655, allocations: 2.344 MB / 1.422 GB, free: 5.492 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.21e-07/1.655, allocations: 0 / 1.422 GB, free: 5.492 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.008508/1.663, allocations: 1.664 MB / 1.424 GB, free: 3.828 MB / 1.076 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 (138): * Single equations (assignments): 124 * 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.003046/1.666, allocations: 0.9873 MB / 1.425 GB, free: 3.055 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01284/1.679, allocations: 4.679 MB / 1.429 GB, free: 14.48 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.679, allocations: 1.25 kB / 1.429 GB, free: 14.48 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/1.682, allocations: 1.574 MB / 1.431 GB, free: 12.86 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01156/1.693, allocations: 1.872 MB / 1.433 GB, free: 11.01 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.711, allocations: 8.693 MB / 1.441 GB, free: 2.305 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003361/1.714, allocations: 2.52 MB / 1.444 GB, free: 15.76 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.715, allocations: 290 kB / 1.444 GB, free: 15.48 MB / 1.107 GB Notification: Performance of SimCode: time 1.513e-06/1.715, allocations: 0 / 1.444 GB, free: 15.48 MB / 1.107 GB Notification: Performance of Templates: time 0.1687/1.884, allocations: 136.3 MB / 1.577 GB, free: 7.484 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches