Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001038/0.001038, allocations: 91.92 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.001472/0.001472, allocations: 179.7 kB / 16.92 MB, free: 6.656 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003564, allocations: 8 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6469/0.6473, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.06386/0.7112, allocations: 56.43 MB / 1.079 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01785/0.7291, allocations: 11.85 MB / 1.09 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.7318, allocations: 47.69 kB / 1.09 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00357/0.7354, allocations: 1.111 MB / 1.091 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006075/0.7415, allocations: 1.972 MB / 1.093 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.7458, allocations: 1.416 MB / 1.095 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006483/0.7523, allocations: 4.941 MB / 1.1 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/0.7547, allocations: 1.096 MB / 1.101 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002917/0.7576, allocations: 1.19 MB / 1.102 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.76, allocations: 1.139 MB / 1.103 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003812/0.7604, allocations: 56 kB / 1.103 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003789/0.7642, allocations: 1.513 MB / 1.105 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005529/0.7648, allocations: 498 kB / 1.105 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.7661, allocations: 0.9843 MB / 1.106 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.7693, allocations: 2.588 MB / 1.108 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7693, allocations: 0 / 1.108 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7693, allocations: 0 / 1.108 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.541e-05/0.7694, allocations: 0 / 1.108 GB, free: 8.715 MB / 0.8575 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.003723/0.7731, allocations: 2.318 MB / 1.111 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.7732, allocations: 12.03 kB / 1.111 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004867/0.7737, allocations: 246 kB / 1.111 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/0.7766, allocations: 1.91 MB / 1.113 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/0.7767, allocations: 74 kB / 1.113 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.7769, allocations: 92 kB / 1.113 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.7786, allocations: 1.031 MB / 1.114 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.7787, allocations: 11.92 kB / 1.114 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/0.7788, allocations: 36 kB / 1.114 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.7788, allocations: 28 kB / 1.114 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.7801, allocations: 0.7339 MB / 1.115 GB, free: 2.035 MB / 0.8575 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.006525/0.7866, allocations: 4.78 MB / 1.119 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/0.7874, allocations: 465 kB / 1.12 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.7879, allocations: 322.4 kB / 1.12 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006406/0.7885, allocations: 0.8239 MB / 1.121 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006134/0.7891, allocations: 413.8 kB / 1.121 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=65): time 2.475e-06/0.7891, allocations: 4 kB / 1.121 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67): time 0.004984/0.7941, allocations: 2.564 MB / 1.124 GB, free: 8.129 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.7942, allocations: 119.3 kB / 1.124 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003353/0.7976, allocations: 2.74 MB / 1.127 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/0.7977, allocations: 41.7 kB / 1.127 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/0.7984, allocations: 0.8993 MB / 1.128 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.7986, allocations: 216.9 kB / 1.128 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.439e-05/0.7987, allocations: 74.22 kB / 1.128 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7989, allocations: 337.9 kB / 1.128 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.7993, allocations: 257.9 kB / 1.128 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.7999, allocations: 490.3 kB / 1.129 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009843/0.8009, allocations: 0.8003 MB / 1.13 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.8009, allocations: 4 kB / 1.13 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001819/0.8027, allocations: 1.132 MB / 1.131 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.8029, allocations: 288.6 kB / 1.131 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.8029, allocations: 7.938 kB / 1.131 GB, free: 416 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004625/0.8034, allocations: 109.7 kB / 1.131 GB, free: 300 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/0.8038, allocations: 135.8 kB / 1.131 GB, free: 164 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.8057, allocations: 2.195 MB / 1.133 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.8068, allocations: 91.81 kB / 1.134 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/0.8069, allocations: 35.98 kB / 1.134 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.8069, allocations: 4 kB / 1.134 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00149/0.8084, allocations: 0.9687 MB / 1.135 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.8084, allocations: 4 kB / 1.135 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.8088, allocations: 114.2 kB / 1.135 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/0.8092, allocations: 135.8 kB / 1.135 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.8108, allocations: 2.192 MB / 1.137 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.812, allocations: 89.66 kB / 1.137 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/0.8121, allocations: 44.14 kB / 1.137 GB, free: 9.949 MB / 0.8887 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.001068/0.8132, allocations: 0.6681 MB / 1.138 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.8135, allocations: 201.6 kB / 1.138 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.8152, allocations: 1.179 MB / 1.139 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.8153, allocations: 4 kB / 1.139 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.8153, allocations: 4 kB / 1.139 GB, free: 7.836 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/0.8165, allocations: 0.9262 MB / 1.14 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.8204, allocations: 2.579 MB / 1.143 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.8204, allocations: 0 / 1.143 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.8209, allocations: 91.88 kB / 1.143 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003941/0.8213, allocations: 101.7 kB / 1.143 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.8213, allocations: 23.98 kB / 1.143 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.8231, allocations: 2.196 MB / 1.145 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8231, allocations: 0 / 1.145 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.8254, allocations: 1.518 MB / 1.146 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/0.8263, allocations: 442.2 kB / 1.147 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.8266, allocations: 16 kB / 1.147 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008475/0.8274, allocations: 71.92 kB / 1.147 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.8276, allocations: 48.31 kB / 1.147 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.745e-05/0.8276, allocations: 31.98 kB / 1.147 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002746/0.8304, allocations: 2.012 MB / 1.149 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8304, allocations: 0 / 1.149 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002377/0.8328, allocations: 0.8006 MB / 1.15 GB, free: 12.59 MB / 0.9044 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.001744/0.8345, allocations: 0.7651 MB / 1.15 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002574/0.8371, allocations: 1.707 MB / 1.152 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.8371, allocations: 0.5 kB / 1.152 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007952/0.8379, allocations: 0.6248 MB / 1.153 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/0.8422, allocations: 0.7784 MB / 1.153 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.8481, allocations: 4.149 MB / 1.158 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.8492, allocations: 1.446 MB / 1.159 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.8496, allocations: 131.4 kB / 1.159 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of SimCode: time 1.192e-06/0.8496, allocations: 0 / 1.159 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of Templates: time 0.06293/0.9126, allocations: 45.77 MB / 1.204 GB, free: 5.324 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.makefile (rm -f Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & ./Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Boilers_Examples_BoilerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Boilers.Examples.BoilerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches