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.001105/0.001105, allocations: 99.42 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.001571/0.001571, allocations: 185.5 kB / 16.92 MB, free: 6.688 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.638/1.638, allocations: 223.3 MB / 241 MB, free: 5.359 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.381/2.381, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003381, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8149/0.8152, allocations: 142.4 MB / 0.9557 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05395/0.8692, allocations: 55.86 MB / 1.01 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.885, allocations: 10.41 MB / 1.02 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.8874, allocations: 47.69 kB / 1.02 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.8894, allocations: 0.5634 MB / 1.021 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006259/0.8956, allocations: 1.832 MB / 1.023 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004262/0.8999, allocations: 1.182 MB / 1.024 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006386/0.9063, allocations: 4.719 MB / 1.029 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/0.9084, allocations: 1.019 MB / 1.03 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.9112, allocations: 1.081 MB / 1.031 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.9131, allocations: 0.9798 MB / 1.032 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003643/0.9135, allocations: 48 kB / 1.032 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.9167, allocations: 1.138 MB / 1.033 GB, free: 252 kB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005405/0.9172, allocations: 254.8 kB / 1.033 GB, free: 15.99 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.9188, allocations: 0.7166 MB / 1.034 GB, free: 15.27 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002813/0.9216, allocations: 1.773 MB / 1.035 GB, free: 13.49 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9216, allocations: 0 / 1.035 GB, free: 13.49 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.016e-06/0.9216, allocations: 0 / 1.035 GB, free: 13.49 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.932e-05/0.9217, allocations: 4 kB / 1.035 GB, free: 13.49 MB / 0.795 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.003524/0.9252, allocations: 1.598 MB / 1.037 GB, free: 11.82 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.9253, allocations: 8.031 kB / 1.037 GB, free: 11.81 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.9259, allocations: 171 kB / 1.037 GB, free: 11.64 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.9282, allocations: 1.186 MB / 1.038 GB, free: 10.4 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.096e-05/0.9283, allocations: 66 kB / 1.038 GB, free: 10.34 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.9285, allocations: 92 kB / 1.038 GB, free: 10.25 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.9304, allocations: 0.9606 MB / 1.039 GB, free: 9.25 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.9305, allocations: 0 / 1.039 GB, free: 9.25 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.549e-05/0.9306, allocations: 39.94 kB / 1.039 GB, free: 9.211 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/0.9306, allocations: 24 kB / 1.039 GB, free: 9.188 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.932, allocations: 0.6714 MB / 1.04 GB, free: 8.512 MB / 0.795 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.006227/0.9382, allocations: 4.073 MB / 1.044 GB, free: 4.23 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007657/0.939, allocations: 401.2 kB / 1.044 GB, free: 3.828 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.9394, allocations: 258.5 kB / 1.045 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004447/0.9399, allocations: 0.503 MB / 1.045 GB, free: 2.961 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005846/0.9405, allocations: 362 kB / 1.046 GB, free: 2.582 MB / 0.795 GB Notification: Performance of pre-optimization done (n=52): time 3.156e-06/0.9405, allocations: 0 / 1.046 GB, free: 2.582 MB / 0.795 GB Notification: Performance of matching and sorting (n=54): time 0.004337/0.9448, allocations: 1.969 MB / 1.047 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.9449, allocations: 140.9 kB / 1.048 GB, free: 348 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.9466, allocations: 1.098 MB / 1.049 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.068e-05/0.9467, allocations: 37.7 kB / 1.049 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005054/0.9472, allocations: 0.582 MB / 1.049 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.9474, allocations: 185.4 kB / 1.049 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.9475, allocations: 61.69 kB / 1.05 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.9476, allocations: 334 kB / 1.05 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.948, allocations: 213.5 kB / 1.05 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.9486, allocations: 436.9 kB / 1.05 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009036/0.9495, allocations: 0.6508 MB / 1.051 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.9495, allocations: 0 / 1.051 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00161/0.9511, allocations: 0.8874 MB / 1.052 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.9513, allocations: 253.3 kB / 1.052 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.9513, allocations: 4 kB / 1.052 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004316/0.9518, allocations: 117.6 kB / 1.052 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.9522, allocations: 119.8 kB / 1.052 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.9541, allocations: 2.199 MB / 1.055 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.9552, allocations: 89.23 kB / 1.055 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.551e-05/0.9553, allocations: 36 kB / 1.055 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.9553, allocations: 5.562 kB / 1.055 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001334/0.9567, allocations: 0.774 MB / 1.055 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.9567, allocations: 4 kB / 1.055 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.957, allocations: 113.6 kB / 1.056 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.9574, allocations: 115.8 kB / 1.056 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.9594, allocations: 2.188 MB / 1.058 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/0.9603, allocations: 83.77 kB / 1.058 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.9604, allocations: 35.98 kB / 1.058 GB, free: 5.141 MB / 0.8106 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 (y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition1) * 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 (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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007147/0.9611, allocations: 432.5 kB / 1.058 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.9614, allocations: 118.6 kB / 1.058 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.9629, allocations: 0.8195 MB / 1.059 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.9629, allocations: 4 kB / 1.059 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9629, allocations: 0 / 1.059 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/0.964, allocations: 0.719 MB / 1.06 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/0.9673, allocations: 1.825 MB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.9673, allocations: 4.156 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.9677, allocations: 71.89 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000377/0.9681, allocations: 113.6 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/0.9681, allocations: 19.98 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.9701, allocations: 2.196 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.9701, allocations: 3.938 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.9719, allocations: 1.124 MB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005978/0.9725, allocations: 283.5 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/0.9728, allocations: 16 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008743/0.9737, allocations: 59.91 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.9738, allocations: 43.88 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.9739, allocations: 27.97 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001388/0.9753, allocations: 0.8208 MB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.784e-06/0.9753, allocations: 0 / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002035/0.9773, allocations: 0.5896 MB / 1.067 GB, free: 11.48 MB / 0.8262 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 (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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00103/0.9784, allocations: 394.6 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.9809, allocations: 1.344 MB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9809, allocations: 0 / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006931/0.9816, allocations: 466.7 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/0.9859, allocations: 0.7115 MB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.9905, allocations: 2.531 MB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008769/0.9914, allocations: 1.129 MB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.9917, allocations: 99.36 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of SimCode: time 1.212e-06/0.9917, allocations: 0 / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.04564/1.037, allocations: 31.79 MB / 1.105 GB, free: 5.035 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches