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.0008286/0.0008286, allocations: 92.16 kB / 16.02 MB, free: 80 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.001042/0.001042, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.336 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.387/2.387, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003531, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7178, allocations: 142.4 MB / 0.9557 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.06366/0.7815, allocations: 56.43 MB / 1.011 GB, free: 6.781 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01825/0.7998, allocations: 11.86 MB / 1.022 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.8024, allocations: 51.69 kB / 1.022 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003733/0.8062, allocations: 1.103 MB / 1.024 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006342/0.8126, allocations: 1.969 MB / 1.025 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004264/0.8169, allocations: 1.413 MB / 1.027 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007056/0.8239, allocations: 4.948 MB / 1.032 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/0.8263, allocations: 1.096 MB / 1.033 GB, free: 288 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00318/0.8295, allocations: 1.19 MB / 1.034 GB, free: 15.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002554/0.8321, allocations: 1.136 MB / 1.035 GB, free: 13.95 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005598/0.8327, allocations: 60 kB / 1.035 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.8368, allocations: 1.513 MB / 1.037 GB, free: 12.37 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008494/0.8377, allocations: 498 kB / 1.037 GB, free: 11.88 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.8398, allocations: 0.9882 MB / 1.038 GB, free: 10.88 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004213/0.844, allocations: 2.592 MB / 1.04 GB, free: 8.285 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.8441, allocations: 4 kB / 1.04 GB, free: 8.281 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.405e-06/0.8441, allocations: 0 / 1.04 GB, free: 8.281 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000108/0.8442, allocations: 0 / 1.04 GB, free: 8.281 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.005044/0.8492, allocations: 2.31 MB / 1.043 GB, free: 5.883 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.8493, allocations: 12.03 kB / 1.043 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008588/0.8502, allocations: 246 kB / 1.043 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003832/0.854, allocations: 1.914 MB / 1.045 GB, free: 3.645 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/0.8541, allocations: 70 kB / 1.045 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.8543, allocations: 96 kB / 1.045 GB, free: 3.48 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.8564, allocations: 1.035 MB / 1.046 GB, free: 2.41 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.8564, allocations: 0 / 1.046 GB, free: 2.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.807e-05/0.8565, allocations: 40 kB / 1.046 GB, free: 2.371 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.8566, allocations: 20 kB / 1.046 GB, free: 2.352 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.858, allocations: 0.7378 MB / 1.047 GB, free: 1.609 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.007242/0.8652, allocations: 4.784 MB / 1.051 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.866, allocations: 453.1 kB / 1.052 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.8665, allocations: 319 kB / 1.052 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.8672, allocations: 0.8317 MB / 1.053 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006281/0.8678, allocations: 413.8 kB / 1.053 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=65): time 3.155e-06/0.8678, allocations: 0 / 1.053 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=67): time 0.005299/0.8731, allocations: 2.568 MB / 1.056 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.8732, allocations: 119.4 kB / 1.056 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004241/0.8775, allocations: 2.732 MB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.8776, allocations: 41.7 kB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000902/0.8785, allocations: 0.9071 MB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/0.8788, allocations: 220.9 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.8789, allocations: 69.67 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.879, allocations: 334 kB / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/0.8795, allocations: 261.9 kB / 1.06 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.8801, allocations: 494.3 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.8812, allocations: 0.8004 MB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8812, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002036/0.8833, allocations: 1.129 MB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/0.8835, allocations: 288.3 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.8835, allocations: 8 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005123/0.884, allocations: 121.6 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.8845, allocations: 127.8 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.8864, allocations: 2.191 MB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.8878, allocations: 95.83 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.994e-05/0.8879, allocations: 35.98 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.8879, allocations: 3.938 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/0.8895, allocations: 0.9729 MB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.8895, allocations: 11.88 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/0.8899, allocations: 105.6 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.8904, allocations: 135.8 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.8921, allocations: 2.196 MB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.8935, allocations: 80.55 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/0.8936, allocations: 31.98 kB / 1.069 GB, free: 9.543 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.001092/0.8946, allocations: 0.6847 MB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.8951, allocations: 201.5 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.8972, allocations: 1.171 MB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.8972, allocations: 8 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8972, allocations: 0 / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001303/0.8985, allocations: 0.9261 MB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004488/0.903, allocations: 2.567 MB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.903, allocations: 0 / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.9035, allocations: 87.89 kB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/0.9039, allocations: 118.1 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.904, allocations: 27.98 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.9058, allocations: 2.187 MB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.9059, allocations: 7.969 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.9083, allocations: 1.514 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.9093, allocations: 434.4 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004937/0.9098, allocations: 20.06 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.911, allocations: 71.78 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.9112, allocations: 52.25 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/0.9113, allocations: 31.97 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003563/0.9148, allocations: 2.008 MB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9148, allocations: 0 / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003091/0.9179, allocations: 0.8045 MB / 1.082 GB, free: 12.17 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.002165/0.9201, allocations: 0.7555 MB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002881/0.923, allocations: 1.718 MB / 1.084 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.923, allocations: 0 / 1.084 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008778/0.9239, allocations: 0.6181 MB / 1.085 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005116/0.929, allocations: 0.7842 MB / 1.085 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007129/0.9362, allocations: 4.145 MB / 1.09 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.9377, allocations: 1.446 MB / 1.091 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007004/0.9384, allocations: 139.4 kB / 1.091 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of SimCode: time 1.082e-06/0.9385, allocations: 0 / 1.091 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.06973/1.008, allocations: 45.77 MB / 1.136 GB, free: 4.906 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches