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.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.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.0009615/0.0009616, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001046/0.001047, allocations: 172.7 kB / 15.95 MB, free: 208 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.281 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.558/2.558, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004051, allocations: 12 kB / 0.8153 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.875/0.8754, allocations: 142.4 MB / 0.9544 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.05601/0.9315, allocations: 53.32 MB / 1.006 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02212/0.9537, allocations: 11.11 MB / 1.017 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003562/0.9573, allocations: 55.69 kB / 1.017 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003886/0.9612, allocations: 1.015 MB / 1.018 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006374/0.9676, allocations: 1.702 MB / 1.02 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004154/0.9718, allocations: 1.183 MB / 1.021 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006735/0.9785, allocations: 4.258 MB / 1.025 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.9804, allocations: 0.9757 MB / 1.026 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002763/0.9832, allocations: 1.159 MB / 1.027 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.9851, allocations: 1.062 MB / 1.028 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.9853, allocations: 56 kB / 1.029 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.9887, allocations: 1.205 MB / 1.03 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005212/0.9892, allocations: 490.2 kB / 1.03 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006871/0.9899, allocations: 412.6 kB / 1.031 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00361/0.9935, allocations: 2.533 MB / 1.033 GB, free: 14.79 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9936, allocations: 0 / 1.033 GB, free: 14.79 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9936, allocations: 0 / 1.033 GB, free: 14.79 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.565e-05/0.9936, allocations: 0 / 1.033 GB, free: 14.79 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.003994/0.9976, allocations: 2.338 MB / 1.035 GB, free: 12.36 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.9977, allocations: 12.03 kB / 1.035 GB, free: 12.35 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004657/0.9982, allocations: 241.1 kB / 1.036 GB, free: 12.11 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/1.001, allocations: 1.84 MB / 1.037 GB, free: 10.2 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/1.001, allocations: 70 kB / 1.037 GB, free: 10.13 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/1.001, allocations: 96 kB / 1.038 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/1.003, allocations: 1.019 MB / 1.039 GB, free: 8.984 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/1.003, allocations: 7.922 kB / 1.039 GB, free: 8.977 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.622e-05/1.003, allocations: 43.98 kB / 1.039 GB, free: 8.934 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/1.003, allocations: 27.94 kB / 1.039 GB, free: 8.906 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/1.004, allocations: 0.7222 MB / 1.039 GB, free: 8.18 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.006064/1.01, allocations: 4.776 MB / 1.044 GB, free: 3.184 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/1.011, allocations: 461 kB / 1.044 GB, free: 2.723 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/1.012, allocations: 324.5 kB / 1.045 GB, free: 2.406 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006492/1.012, allocations: 0.8278 MB / 1.046 GB, free: 1.395 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006103/1.013, allocations: 413.7 kB / 1.046 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of pre-optimization done (n=65): time 2.705e-06/1.013, allocations: 0 / 1.046 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of matching and sorting (n=67): time 0.004836/1.018, allocations: 2.552 MB / 1.048 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/1.018, allocations: 111.4 kB / 1.049 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/1.022, allocations: 2.733 MB / 1.051 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/1.022, allocations: 41.7 kB / 1.051 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/1.023, allocations: 0.8993 MB / 1.052 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/1.023, allocations: 228.9 kB / 1.052 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/1.023, allocations: 12 kB / 1.052 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001876/1.023, allocations: 337.9 kB / 1.053 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/1.024, allocations: 253.9 kB / 1.053 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/1.025, allocations: 478.3 kB / 1.053 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/1.025, allocations: 370.5 kB / 1.054 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.025, allocations: 4 kB / 1.054 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001999/1.027, allocations: 1.125 MB / 1.055 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002966/1.028, allocations: 284.3 kB / 1.055 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.028, allocations: 4 kB / 1.055 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005147/1.028, allocations: 117.6 kB / 1.055 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/1.029, allocations: 135.8 kB / 1.055 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/1.031, allocations: 2.188 MB / 1.057 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/1.033, allocations: 95.88 kB / 1.058 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/1.033, allocations: 28 kB / 1.058 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/1.033, allocations: 5.875 kB / 1.058 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001643/1.034, allocations: 0.9651 MB / 1.059 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.034, allocations: 4 kB / 1.059 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/1.035, allocations: 117.7 kB / 1.059 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/1.035, allocations: 127.8 kB / 1.059 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/1.037, allocations: 2.192 MB / 1.061 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/1.038, allocations: 88.44 kB / 1.061 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/1.038, allocations: 39.98 kB / 1.061 GB, free: 0.7383 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: 14 ($whenCondition1,$whenCondition2,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled,TIn.a,TIn.b,TIn.last,$PRE.TIn.nextEvent,TIn.nextEvent,TIn.nextEventScaled) * 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 (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.001232/1.04, allocations: 0.6735 MB / 1.062 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004302/1.04, allocations: 201.5 kB / 1.062 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/1.042, allocations: 1.179 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/1.042, allocations: 4 kB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.042, allocations: 0 / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001217/1.043, allocations: 0.9222 MB / 1.064 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00412/1.047, allocations: 2.538 MB / 1.066 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.047, allocations: 4.125 kB / 1.066 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/1.048, allocations: 87.89 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003839/1.048, allocations: 117.9 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/1.048, allocations: 23.98 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/1.05, allocations: 2.18 MB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.05, allocations: 0 / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/1.052, allocations: 1.501 MB / 1.07 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009187/1.053, allocations: 434.4 kB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000414/1.054, allocations: 20.06 kB / 1.071 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000954/1.055, allocations: 63.98 kB / 1.071 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.055, allocations: 52.27 kB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.637e-05/1.055, allocations: 35.97 kB / 1.071 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003089/1.058, allocations: 1.94 MB / 1.073 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/1.058, allocations: 3.938 kB / 1.073 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002815/1.061, allocations: 0.8005 MB / 1.073 GB, free: 3.516 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: 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 (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.001843/1.063, allocations: 0.7492 MB / 1.074 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002748/1.065, allocations: 1.699 MB / 1.076 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.066, allocations: 3.938 kB / 1.076 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00087/1.066, allocations: 0.6248 MB / 1.076 GB, free: 472 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/1.07, allocations: 0.6484 MB / 1.077 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/1.076, allocations: 3.925 MB / 1.081 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.077, allocations: 1.461 MB / 1.082 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001353/1.079, allocations: 353.4 kB / 1.083 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/1.079, allocations: 123.4 kB / 1.083 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of SimCode: time 8.22e-07/1.079, allocations: 0 / 1.083 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of Templates: time 0.05607/1.135, allocations: 31.37 MB / 1.113 GB, free: 10.85 MB / 0.8731 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