Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.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.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi1.T|boi2.sta_a.T|boi2.sta_b.T|boi2.T|y.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi1.T|boi2.sta_a.T|boi2.sta_b.T|boi2.T|y.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001256, allocations: 99.39 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.001453/0.001454, allocations: 177.3 kB / 15.95 MB, free: 216 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.457/1.457, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.557/2.557, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004173, allocations: 19.98 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8515/0.8519, allocations: 142.3 MB / 0.9535 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05213/0.9041, allocations: 47.89 MB / 1 GB, free: 132 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0142/0.9184, allocations: 9.062 MB / 1.009 GB, free: 7.051 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.9206, allocations: 47.69 kB / 1.009 GB, free: 7.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.9227, allocations: 0.618 MB / 1.01 GB, free: 6.383 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006258/0.9289, allocations: 1.893 MB / 1.012 GB, free: 4.484 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.9333, allocations: 1.379 MB / 1.013 GB, free: 3.133 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004846/0.9381, allocations: 2.178 MB / 1.015 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.9396, allocations: 0.915 MB / 1.016 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.9418, allocations: 0.9575 MB / 1.017 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009367/0.9428, allocations: 0.6572 MB / 1.018 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.9429, allocations: 48 kB / 1.018 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.9451, allocations: 0.7529 MB / 1.018 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.9454, allocations: 243 kB / 1.019 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003933/0.9458, allocations: 313 kB / 1.019 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.9478, allocations: 1.666 MB / 1.02 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.9478, allocations: 0 / 1.02 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9479, allocations: 0 / 1.02 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.906e-05/0.9479, allocations: 0 / 1.02 GB, free: 11.37 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002852/0.9507, allocations: 1.6 MB / 1.022 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.9508, allocations: 8.031 kB / 1.022 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000416/0.9512, allocations: 170.1 kB / 1.022 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.953, allocations: 1.073 MB / 1.023 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/0.9531, allocations: 70 kB / 1.023 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.9532, allocations: 88 kB / 1.023 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.9547, allocations: 0.9449 MB / 1.024 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.9548, allocations: 8 kB / 1.024 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.129e-05/0.9548, allocations: 35.98 kB / 1.024 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/0.9549, allocations: 28 kB / 1.024 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.956, allocations: 0.6635 MB / 1.025 GB, free: 6.527 MB / 0.7794 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.005099/0.9611, allocations: 4.101 MB / 1.029 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009056/0.962, allocations: 458.7 kB / 1.03 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004488/0.9625, allocations: 0.4951 MB / 1.03 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005475/0.9631, allocations: 362 kB / 1.03 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=52): time 2.074e-06/0.9631, allocations: 0 / 1.03 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of matching and sorting (n=54): time 0.004013/0.9671, allocations: 2.026 MB / 1.032 GB, free: 14.63 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/0.9672, allocations: 141 kB / 1.032 GB, free: 14.46 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.9686, allocations: 1.133 MB / 1.034 GB, free: 13.32 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.9687, allocations: 41.7 kB / 1.034 GB, free: 13.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/0.9692, allocations: 0.5858 MB / 1.034 GB, free: 12.68 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.9694, allocations: 177.4 kB / 1.034 GB, free: 12.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.9694, allocations: 8 kB / 1.034 GB, free: 12.49 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9696, allocations: 337.9 kB / 1.035 GB, free: 12.16 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.9699, allocations: 213.5 kB / 1.035 GB, free: 11.95 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/0.9704, allocations: 422.6 kB / 1.035 GB, free: 11.46 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.9709, allocations: 299.7 kB / 1.036 GB, free: 11.16 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9709, allocations: 0 / 1.036 GB, free: 11.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001458/0.9723, allocations: 0.8832 MB / 1.036 GB, free: 10.25 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007368/0.9731, allocations: 1.71 MB / 1.038 GB, free: 8.422 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.9731, allocations: 4 kB / 1.038 GB, free: 8.418 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004043/0.9735, allocations: 113.7 kB / 1.038 GB, free: 8.301 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.974, allocations: 123.8 kB / 1.038 GB, free: 8.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.9758, allocations: 2.203 MB / 1.04 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.9769, allocations: 88.03 kB / 1.041 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.977, allocations: 32 kB / 1.041 GB, free: 5.695 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.977, allocations: 4 kB / 1.041 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/0.9782, allocations: 0.7776 MB / 1.041 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.9783, allocations: 4 kB / 1.041 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003055/0.9786, allocations: 105.7 kB / 1.041 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.979, allocations: 120.1 kB / 1.042 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.9806, allocations: 2.203 MB / 1.044 GB, free: 2.309 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00093/0.9816, allocations: 81.14 kB / 1.044 GB, free: 2.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.9816, allocations: 28.12 kB / 1.044 GB, free: 2.203 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006238/0.9823, allocations: 426.6 kB / 1.044 GB, free: 1.77 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.9824, allocations: 126.8 kB / 1.044 GB, free: 1.645 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.9837, allocations: 0.8195 MB / 1.045 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.9837, allocations: 7.953 kB / 1.045 GB, free: 0.793 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.9837, allocations: 4 kB / 1.045 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009016/0.9846, allocations: 0.7035 MB / 1.046 GB, free: 40 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.9871, allocations: 1.822 MB / 1.048 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.9872, allocations: 4 kB / 1.048 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.9875, allocations: 71.89 kB / 1.048 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003012/0.9878, allocations: 109.6 kB / 1.048 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.9879, allocations: 24.14 kB / 1.048 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.9894, allocations: 2.203 MB / 1.05 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9895, allocations: 4.031 kB / 1.05 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.991, allocations: 1.177 MB / 1.051 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000507/0.9916, allocations: 291.5 kB / 1.051 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.9917, allocations: 12.12 kB / 1.051 GB, free: 9.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.9924, allocations: 67.88 kB / 1.051 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.9925, allocations: 31.95 kB / 1.052 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-05/0.9925, allocations: 27.97 kB / 1.052 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001016/0.9936, allocations: 0.7839 MB / 1.052 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.9936, allocations: 0 / 1.052 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001715/0.9953, allocations: 0.6014 MB / 1.053 GB, free: 8.48 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007315/0.996, allocations: 402.1 kB / 1.053 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001986/0.998, allocations: 1.344 MB / 1.055 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.9981, allocations: 0 / 1.055 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005744/0.9986, allocations: 470.5 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.001, allocations: 0.5729 MB / 1.056 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/1.004, allocations: 2.395 MB / 1.058 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00064/1.005, allocations: 1.156 MB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008631/1.006, allocations: 225.4 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/1.006, allocations: 95.41 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/1.006, allocations: 0 / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of Templates: time 0.03794/1.044, allocations: 23.77 MB / 1.083 GB, free: 10.25 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Boilers_Examples_BoilerPolynomial.csv","../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches