Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.009606/0.009606, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.558/1.558, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003596, allocations: 8 kB / 0.8159 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.866/0.8664, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.06072/0.9272, allocations: 56.43 MB / 1.01 GB, free: 6.789 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.9479, allocations: 11.85 MB / 1.022 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.951, allocations: 47.75 kB / 1.022 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003845/0.9548, allocations: 1.107 MB / 1.023 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007113/0.962, allocations: 1.969 MB / 1.025 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004996/0.967, allocations: 1.425 MB / 1.026 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007493/0.9745, allocations: 4.941 MB / 1.031 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.9768, allocations: 1.1 MB / 1.032 GB, free: 296 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.9798, allocations: 1.186 MB / 1.033 GB, free: 15.1 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/0.982, allocations: 1.143 MB / 1.034 GB, free: 13.95 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.9823, allocations: 60 kB / 1.034 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003882/0.9862, allocations: 1.509 MB / 1.036 GB, free: 12.38 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000677/0.9869, allocations: 0.4902 MB / 1.036 GB, free: 11.89 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.9884, allocations: 0.9803 MB / 1.037 GB, free: 10.89 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005166/0.9935, allocations: 3.29 MB / 1.04 GB, free: 7.594 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9936, allocations: 0 / 1.04 GB, free: 7.594 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9936, allocations: 0 / 1.04 GB, free: 7.594 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.375e-05/0.9936, allocations: 4 kB / 1.041 GB, free: 7.59 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004469/0.9981, allocations: 2.314 MB / 1.043 GB, free: 5.188 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.9982, allocations: 12.03 kB / 1.043 GB, free: 5.176 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005664/0.9987, allocations: 250 kB / 1.043 GB, free: 4.93 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/1.002, allocations: 1.91 MB / 1.045 GB, free: 2.949 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/1.002, allocations: 74 kB / 1.045 GB, free: 2.875 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/1.002, allocations: 96 kB / 1.045 GB, free: 2.781 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/1.004, allocations: 1.031 MB / 1.046 GB, free: 1.715 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/1.004, allocations: 0 / 1.046 GB, free: 1.715 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/1.004, allocations: 44 kB / 1.046 GB, free: 1.672 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/1.004, allocations: 24 kB / 1.046 GB, free: 1.648 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/1.006, allocations: 0.73 MB / 1.047 GB, free: 0.9141 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.006854/1.012, allocations: 4.784 MB / 1.051 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007903/1.013, allocations: 461.1 kB / 1.052 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/1.014, allocations: 318.4 kB / 1.052 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006793/1.014, allocations: 0.8239 MB / 1.053 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006388/1.015, allocations: 409.8 kB / 1.053 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=65): time 3.386e-06/1.015, allocations: 4 kB / 1.053 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=67): time 0.005366/1.02, allocations: 2.572 MB / 1.056 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.757e-05/1.02, allocations: 111.4 kB / 1.056 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/1.024, allocations: 2.74 MB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/1.024, allocations: 41.7 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00088/1.025, allocations: 0.8993 MB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/1.026, allocations: 216.9 kB / 1.06 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/1.026, allocations: 73.69 kB / 1.06 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.026, allocations: 337.9 kB / 1.06 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/1.026, allocations: 261.9 kB / 1.06 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/1.027, allocations: 486.3 kB / 1.061 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/1.028, allocations: 0.7965 MB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.028, allocations: 4 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002163/1.03, allocations: 1.133 MB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002627/1.03, allocations: 288 kB / 1.063 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.03, allocations: 4 kB / 1.063 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/1.031, allocations: 113.6 kB / 1.063 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/1.031, allocations: 135.8 kB / 1.063 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/1.033, allocations: 2.203 MB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/1.035, allocations: 88.44 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/1.035, allocations: 39.92 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/1.035, allocations: 7.938 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001517/1.036, allocations: 0.9649 MB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.036, allocations: 4 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/1.037, allocations: 118.2 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/1.037, allocations: 127.8 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/1.039, allocations: 2.188 MB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.04, allocations: 94.3 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.718e-05/1.041, allocations: 39.98 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 14 (TIn.nextEventScaled,TIn.nextEvent,$PRE.TIn.nextEvent,TIn.last,TIn.b,TIn.a,y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * 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.001172/1.042, allocations: 0.666 MB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003869/1.042, allocations: 205.5 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/1.044, allocations: 1.179 MB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/1.044, allocations: 4 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.044, allocations: 0 / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/1.045, allocations: 0.9378 MB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/1.049, allocations: 2.56 MB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.05, allocations: 4.094 kB / 1.075 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/1.05, allocations: 83.88 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003847/1.05, allocations: 117.6 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/1.05, allocations: 20 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/1.052, allocations: 2.196 MB / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.052, allocations: 0 / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/1.055, allocations: 1.522 MB / 1.078 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009452/1.056, allocations: 438.4 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/1.056, allocations: 16 kB / 1.079 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008984/1.057, allocations: 75.83 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/1.057, allocations: 56.25 kB / 1.079 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.586e-05/1.057, allocations: 27.98 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003106/1.06, allocations: 2.008 MB / 1.081 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.06, allocations: 0 / 1.081 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003443/1.064, allocations: 0.8006 MB / 1.082 GB, free: 11.48 MB / 0.8419 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: 12 ($whenCondition1,$whenCondition2,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled,TIn.a,TIn.b,TIn.last,TIn.nextEvent,TIn.nextEventScaled) * Number of discrete states: 12 (TIn.nextEvent,TIn.last,TIn.nextEventScaled,TIn.b,TIn.a,$whenCondition2,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 (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * 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.0023/1.066, allocations: 0.7566 MB / 1.082 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003074/1.069, allocations: 1.719 MB / 1.084 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.069, allocations: 4.125 kB / 1.084 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009234/1.07, allocations: 0.6171 MB / 1.085 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004989/1.075, allocations: 0.7856 MB / 1.085 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006528/1.081, allocations: 4.096 MB / 1.089 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/1.083, allocations: 1.454 MB / 1.091 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001631/1.084, allocations: 358.3 kB / 1.091 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/1.085, allocations: 131.4 kB / 1.091 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of SimCode: time 1.142e-06/1.085, allocations: 0 / 1.091 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.06218/1.147, allocations: 35.09 MB / 1.126 GB, free: 14.79 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.makefile (rm -f Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & ./Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Boilers_Examples_BoilerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches