Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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) 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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001444/0.001444, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.564/2.564, allocations: 390.3 MB / 0.6653 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9758/0.9762, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2/1.176, allocations: 136.8 MB / 1.087 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006361/1.183, allocations: 3.373 MB / 1.09 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008797/1.184, allocations: 19.81 kB / 1.09 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/1.185, allocations: 278.8 kB / 1.091 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002904/1.188, allocations: 0.8062 MB / 1.091 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/1.189, allocations: 0.521 MB / 1.092 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00135/1.191, allocations: 0.6555 MB / 1.093 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004262/1.191, allocations: 250.4 kB / 1.093 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000673/1.192, allocations: 306.9 kB / 1.093 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/1.192, allocations: 243 kB / 1.093 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/1.192, allocations: 16 kB / 1.093 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/1.193, allocations: 319.5 kB / 1.094 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/1.194, allocations: 127.6 kB / 1.094 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/1.194, allocations: 125.5 kB / 1.094 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007503/1.195, allocations: 0.6077 MB / 1.095 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.195, allocations: 4 kB / 1.095 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.923e-06/1.195, allocations: 0 / 1.095 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.195, allocations: 0 / 1.095 GB, free: 15.38 MB / 0.8575 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.001409/1.196, allocations: 0.7669 MB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.196, allocations: 8.031 kB / 1.095 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/1.197, allocations: 155.2 kB / 1.095 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000777/1.198, allocations: 485.2 kB / 1.096 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/1.198, allocations: 24.56 kB / 1.096 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/1.198, allocations: 32 kB / 1.096 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/1.199, allocations: 311.7 kB / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/1.199, allocations: 0 / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.399e-05/1.199, allocations: 16 kB / 1.096 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/1.199, allocations: 12.55 kB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/1.199, allocations: 218.1 kB / 1.096 GB, free: 13.28 MB / 0.8575 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.002282/1.201, allocations: 1.418 MB / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/1.202, allocations: 226.7 kB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/1.202, allocations: 0 / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003356/1.202, allocations: 157.5 kB / 1.098 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/1.202, allocations: 4 kB / 1.098 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.003005/1.205, allocations: 1.089 MB / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/1.205, allocations: 55.41 kB / 1.099 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/1.206, allocations: 449.9 kB / 1.1 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/1.206, allocations: 37.7 kB / 1.1 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/1.206, allocations: 240.2 kB / 1.1 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/1.206, allocations: 106.5 kB / 1.1 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/1.206, allocations: 4 kB / 1.1 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.206, allocations: 362.8 kB / 1.1 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/1.207, allocations: 116.7 kB / 1.101 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/1.207, allocations: 190.6 kB / 1.101 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/1.207, allocations: 157.5 kB / 1.101 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.207, allocations: 7.938 kB / 1.101 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009157/1.208, allocations: 478.5 kB / 1.101 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.208, allocations: 8.156 kB / 1.101 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.208, allocations: 4 kB / 1.101 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/1.209, allocations: 80.8 kB / 1.101 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/1.209, allocations: 59.92 kB / 1.102 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/1.211, allocations: 1.795 MB / 1.103 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/1.211, allocations: 23.89 kB / 1.103 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/1.211, allocations: 16 kB / 1.103 GB, free: 5.828 MB / 0.8575 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 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002733/1.212, allocations: 195.2 kB / 1.104 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/1.212, allocations: 47.39 kB / 1.104 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.969e-05/1.212, allocations: 52.62 kB / 1.104 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.212, allocations: 3.984 kB / 1.104 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.212, allocations: 7.938 kB / 1.104 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.212, allocations: 0 / 1.104 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/1.214, allocations: 0.9611 MB / 1.105 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.214, allocations: 0 / 1.105 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/1.214, allocations: 63.95 kB / 1.105 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002964/1.214, allocations: 72.8 kB / 1.105 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/1.214, allocations: 8 kB / 1.105 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/1.216, allocations: 1.577 MB / 1.106 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.216, allocations: 12 kB / 1.106 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/1.217, allocations: 0.5665 MB / 1.107 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/1.217, allocations: 156.5 kB / 1.107 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/1.217, allocations: 8 kB / 1.107 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/1.218, allocations: 27.42 kB / 1.107 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/1.218, allocations: 23.97 kB / 1.107 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/1.218, allocations: 12 kB / 1.107 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004317/1.218, allocations: 311 kB / 1.107 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.31e-07/1.218, allocations: 0 / 1.107 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007077/1.219, allocations: 124 kB / 1.107 GB, free: 1.395 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/1.22, allocations: 418.3 kB / 1.108 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001244/1.221, allocations: 450.6 kB / 1.108 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.221, allocations: 0 / 1.108 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003816/1.222, allocations: 246.6 kB / 1.109 GB, free: 440 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/1.223, allocations: 228.4 kB / 1.109 GB, free: 212 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/1.226, allocations: 1.261 MB / 1.11 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007203/1.226, allocations: 0.8583 MB / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004621/1.227, allocations: 80.34 kB / 1.111 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.227, allocations: 39.42 kB / 1.111 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of SimCode: time 1.182e-06/1.227, allocations: 0 / 1.111 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of Templates: time 0.01691/1.244, allocations: 8.189 MB / 1.119 GB, free: 5.852 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches