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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001643/0.001643, allocations: 105 kB / 16.41 MB, free: 6.465 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.002175/0.002175, allocations: 187 kB / 17.34 MB, free: 5.719 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.91 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7522, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.2184/0.9706, allocations: 209.5 MB / 1.413 GB, free: 11.32 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02903/0.9997, allocations: 19.07 MB / 1.432 GB, free: 8.199 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00342/1.003, allocations: 95.5 kB / 1.432 GB, free: 8.105 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006389/1.01, allocations: 2.08 MB / 1.434 GB, free: 6.02 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/1.02, allocations: 3.573 MB / 1.437 GB, free: 2.434 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006881/1.026, allocations: 2.548 MB / 1.44 GB, free: 15.89 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01763/1.044, allocations: 13.66 MB / 1.453 GB, free: 2.199 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005969/1.05, allocations: 4.013 MB / 1.457 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007692/1.058, allocations: 3.756 MB / 1.461 GB, free: 10.37 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005211/1.063, allocations: 3.076 MB / 1.464 GB, free: 7.281 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001188/1.064, allocations: 416 kB / 1.464 GB, free: 6.875 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00613/1.07, allocations: 2.648 MB / 1.467 GB, free: 4.223 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001913/1.072, allocations: 1.344 MB / 1.468 GB, free: 2.875 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.004132/1.076, allocations: 2.387 MB / 1.47 GB, free: 488 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01099/1.087, allocations: 7.42 MB / 1.478 GB, free: 9.035 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.088, allocations: 8 kB / 1.478 GB, free: 9.027 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.503e-06/1.088, allocations: 0 / 1.478 GB, free: 9.027 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0002011/1.088, allocations: 0 / 1.478 GB, free: 9.027 MB / 1.201 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.01162/1.099, allocations: 4.967 MB / 1.482 GB, free: 3.977 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.099, allocations: 8.031 kB / 1.482 GB, free: 3.969 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007143/1.107, allocations: 1.06 MB / 1.483 GB, free: 2.902 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/1.117, allocations: 4.813 MB / 1.488 GB, free: 14.02 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/1.117, allocations: 184.5 kB / 1.488 GB, free: 13.84 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007002/1.118, allocations: 251.9 kB / 1.489 GB, free: 13.59 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00647/1.124, allocations: 3.203 MB / 1.492 GB, free: 10.24 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.292e-05/1.124, allocations: 7.938 kB / 1.492 GB, free: 10.23 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/1.124, allocations: 96 kB / 1.492 GB, free: 10.14 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/1.125, allocations: 108.3 kB / 1.492 GB, free: 10.03 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005208/1.13, allocations: 2.66 MB / 1.494 GB, free: 7.352 MB / 1.217 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.02312/1.153, allocations: 13.65 MB / 1.508 GB, free: 9.066 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/1.156, allocations: 2.121 MB / 1.51 GB, free: 6.867 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/1.158, allocations: 0.9447 MB / 1.511 GB, free: 5.918 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/1.169, allocations: 4.604 MB / 1.515 GB, free: 1.082 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001781/1.171, allocations: 0.9816 MB / 1.516 GB, free: 84 kB / 1.232 GB Notification: Performance of pre-optimization done (n=128): time 2.936e-06/1.171, allocations: 0 / 1.516 GB, free: 84 kB / 1.232 GB Notification: Performance of matching and sorting (n=131): time 0.01213/1.183, allocations: 5.487 MB / 1.522 GB, free: 10.42 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/1.183, allocations: 90.42 kB / 1.522 GB, free: 10.31 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005973/1.189, allocations: 3.639 MB / 1.525 GB, free: 6.688 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004055/1.189, allocations: 65.7 kB / 1.525 GB, free: 6.617 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001751/1.191, allocations: 1.667 MB / 1.527 GB, free: 4.934 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006487/1.192, allocations: 481.3 kB / 1.527 GB, free: 4.457 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/1.193, allocations: 0.5238 MB / 1.528 GB, free: 3.926 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.193, allocations: 301.1 kB / 1.528 GB, free: 3.629 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/1.196, allocations: 1.198 MB / 1.529 GB, free: 2.422 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/1.199, allocations: 1.801 MB / 1.531 GB, free: 376 kB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004562/1.203, allocations: 2.775 MB / 1.534 GB, free: 13.36 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/1.203, allocations: 4 kB / 1.534 GB, free: 13.36 MB / 1.264 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.01279/1.216, allocations: 4.184 MB / 1.538 GB, free: 9.16 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/1.216, allocations: 12 kB / 1.538 GB, free: 9.148 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.25e-05/1.216, allocations: 16 kB / 1.538 GB, free: 9.133 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00746/1.224, allocations: 1.086 MB / 1.539 GB, free: 8.043 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/1.226, allocations: 0.5149 MB / 1.54 GB, free: 7.527 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/1.232, allocations: 3.206 MB / 1.543 GB, free: 4.156 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/1.235, allocations: 187.8 kB / 1.543 GB, free: 3.973 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004112/1.236, allocations: 111.9 kB / 1.543 GB, free: 3.863 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004234/1.24, allocations: 2.144 MB / 1.545 GB, free: 1.711 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002939/1.243, allocations: 1.769 MB / 1.547 GB, free: 15.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004341/1.247, allocations: 2.692 MB / 1.549 GB, free: 12.78 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.494e-05/1.247, allocations: 8 kB / 1.549 GB, free: 12.77 MB / 1.279 GB Notification: Performance of matching and sorting (n=320) (initialization_lambda0): time 0.01192/1.259, allocations: 4.073 MB / 1.553 GB, free: 8.676 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.259, allocations: 12.94 kB / 1.553 GB, free: 8.664 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.633e-05/1.259, allocations: 19.98 kB / 1.553 GB, free: 8.645 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007205/1.266, allocations: 1.078 MB / 1.554 GB, free: 7.559 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/1.269, allocations: 0.5031 MB / 1.555 GB, free: 7.055 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005826/1.275, allocations: 3.223 MB / 1.558 GB, free: 3.672 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/1.278, allocations: 191.9 kB / 1.558 GB, free: 3.484 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/1.278, allocations: 104 kB / 1.558 GB, free: 3.383 MB / 1.279 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.0007623/1.279, allocations: 315.6 kB / 1.559 GB, free: 3.066 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.28, allocations: 351.6 kB / 1.559 GB, free: 2.719 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/1.285, allocations: 2.278 MB / 1.561 GB, free: 424 kB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/1.285, allocations: 15.98 kB / 1.561 GB, free: 408 kB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.285, allocations: 4 kB / 1.561 GB, free: 404 kB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.65/1.935, allocations: 1.952 MB / 1.563 GB, free: 342.2 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/1.947, allocations: 5.231 MB / 1.568 GB, free: 340.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.947, allocations: 1.656 kB / 1.568 GB, free: 340.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/1.948, allocations: 288 kB / 1.569 GB, free: 340.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008438/1.949, allocations: 268.4 kB / 1.569 GB, free: 340.1 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/1.949, allocations: 46.47 kB / 1.569 GB, free: 340 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006034/1.955, allocations: 9.276 MB / 1.578 GB, free: 331.3 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.956, allocations: 5.156 kB / 1.578 GB, free: 331.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007015/1.963, allocations: 3.191 MB / 1.581 GB, free: 330.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/1.965, allocations: 0.65 MB / 1.582 GB, free: 329.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/1.966, allocations: 34.75 kB / 1.582 GB, free: 329.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/1.968, allocations: 109.3 kB / 1.582 GB, free: 329.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/1.969, allocations: 102.4 kB / 1.582 GB, free: 329.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/1.969, allocations: 69.94 kB / 1.582 GB, free: 329.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004342/1.973, allocations: 2.457 MB / 1.584 GB, free: 328.9 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.01e-07/1.973, allocations: 0 / 1.584 GB, free: 328.9 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.005498/1.979, allocations: 1.72 MB / 1.586 GB, free: 328.8 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.002357/1.981, allocations: 1 MB / 1.587 GB, free: 328.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.993, allocations: 4.691 MB / 1.592 GB, free: 327.1 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.993, allocations: 0.5625 kB / 1.592 GB, free: 327.1 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002095/1.995, allocations: 1.563 MB / 1.593 GB, free: 326.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009563/2.005, allocations: 1.976 MB / 1.595 GB, free: 325.6 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/2.015, allocations: 7.23 MB / 1.602 GB, free: 320.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/2.017, allocations: 2.52 MB / 1.605 GB, free: 317.9 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/2.018, allocations: 299.2 kB / 1.605 GB, free: 317.6 MB / 1.279 GB Notification: Performance of SimCode: time 6.01e-07/2.018, allocations: 0 / 1.605 GB, free: 317.6 MB / 1.279 GB Notification: Performance of Templates: time 0.1151/2.133, allocations: 138.1 MB / 1.74 GB, free: 179.7 MB / 1.279 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