Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.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.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, 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.001486/0.001486, 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.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.332 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.429/2.429, allocations: 390.9 MB / 0.667 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003734, allocations: 12 kB / 0.8166 GB, free: 13.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6668/0.6672, allocations: 142.4 MB / 0.9557 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.2245/0.8917, allocations: 203.7 MB / 1.155 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02833/0.9201, allocations: 17.17 MB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004373/0.9245, allocations: 79.5 kB / 1.172 GB, free: 1.664 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004534/0.9291, allocations: 1.088 MB / 1.173 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.9402, allocations: 3.119 MB / 1.176 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.007276/0.9474, allocations: 2.202 MB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01822/0.9657, allocations: 13.63 MB / 1.191 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005672/0.9714, allocations: 3.204 MB / 1.194 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007695/0.9791, allocations: 2.863 MB / 1.197 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006261/0.9855, allocations: 2.821 MB / 1.2 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0008987/0.9864, allocations: 148 kB / 1.2 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00621/0.9926, allocations: 2.269 MB / 1.202 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001691/0.9943, allocations: 0.9105 MB / 1.203 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003884/0.9982, allocations: 1.886 MB / 1.205 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008487/1.007, allocations: 5.214 MB / 1.21 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.007, allocations: 4 kB / 1.21 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.083e-06/1.007, allocations: 0 / 1.21 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001762/1.007, allocations: 0 / 1.21 GB, free: 10.16 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.009572/1.017, allocations: 3.781 MB / 1.214 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.017, allocations: 8.031 kB / 1.214 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007262/1.024, allocations: 1.049 MB / 1.215 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/1.035, allocations: 3.967 MB / 1.219 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/1.035, allocations: 184.9 kB / 1.219 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007052/1.036, allocations: 251.8 kB / 1.219 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006394/1.042, allocations: 3.188 MB / 1.222 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.224e-05/1.042, allocations: 15.92 kB / 1.222 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/1.042, allocations: 96 kB / 1.222 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/1.043, allocations: 104.3 kB / 1.222 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004931/1.048, allocations: 2.675 MB / 1.225 GB, free: 10.54 MB / 0.9825 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.02266/1.07, allocations: 13.19 MB / 1.238 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/1.073, allocations: 2.168 MB / 1.24 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/1.075, allocations: 0.968 MB / 1.241 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/1.086, allocations: 4.465 MB / 1.245 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/1.088, allocations: 0.9461 MB / 1.246 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001381/1.089, allocations: 174.4 kB / 1.246 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=130): time 4.488e-06/1.089, allocations: 0 / 1.246 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.5904/1.68, allocations: 5.42 MB / 1.252 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/1.68, allocations: 69.81 kB / 1.252 GB, free: 279 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005958/1.686, allocations: 2.918 MB / 1.254 GB, free: 278 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004462/1.686, allocations: 61.19 kB / 1.255 GB, free: 278 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001534/1.688, allocations: 1.537 MB / 1.256 GB, free: 276.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005502/1.689, allocations: 480.3 kB / 1.257 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003179/1.689, allocations: 185.2 kB / 1.257 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/1.689, allocations: 306.6 kB / 1.257 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002501/1.691, allocations: 1.03 MB / 1.258 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/1.694, allocations: 1.578 MB / 1.26 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004885/1.699, allocations: 2.48 MB / 1.262 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/1.699, allocations: 4.219 kB / 1.262 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=255) (initialization): time 0.0108/1.71, allocations: 3.631 MB / 1.265 GB, free: 272.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003367/1.71, allocations: 0.5611 MB / 1.266 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/1.71, allocations: 16.25 kB / 1.266 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007401/1.718, allocations: 1.163 MB / 1.267 GB, free: 271.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002264/1.72, allocations: 478.9 kB / 1.268 GB, free: 271.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00492/1.725, allocations: 3.042 MB / 1.271 GB, free: 269.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003927/1.729, allocations: 237.4 kB / 1.271 GB, free: 269 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/1.729, allocations: 108.6 kB / 1.271 GB, free: 268.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/1.729, allocations: 4.844 kB / 1.271 GB, free: 268.9 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009558/1.739, allocations: 3.219 MB / 1.274 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/1.739, allocations: 16 kB / 1.274 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007471/1.746, allocations: 1.2 MB / 1.275 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/1.749, allocations: 466.3 kB / 1.276 GB, free: 266.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/1.753, allocations: 3.056 MB / 1.279 GB, free: 264.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003533/1.757, allocations: 230.7 kB / 1.279 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/1.757, allocations: 95.53 kB / 1.279 GB, free: 264 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,hysPum.y,$PRE.hysPum.y,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 236 * Array equations: 1 * Algorithm blocks: 0 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,8)} Notification: Performance of prepare postOptimizeDAE: time 0.002351/1.76, allocations: 1.084 MB / 1.28 GB, free: 263.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009392/1.761, allocations: 306.7 kB / 1.28 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004138/1.765, allocations: 2.301 MB / 1.283 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.765, allocations: 19.72 kB / 1.283 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.765, allocations: 0 / 1.283 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002885/1.768, allocations: 1.989 MB / 1.285 GB, free: 260.6 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.008276/1.776, allocations: 5.008 MB / 1.289 GB, free: 257.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/1.776, allocations: 2 kB / 1.289 GB, free: 257.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.777, allocations: 297.2 kB / 1.29 GB, free: 257.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007164/1.778, allocations: 264.3 kB / 1.29 GB, free: 257.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/1.778, allocations: 46.8 kB / 1.29 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004564/1.783, allocations: 8.671 MB / 1.299 GB, free: 248.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.783, allocations: 3.984 kB / 1.299 GB, free: 248.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005095/1.788, allocations: 3.19 MB / 1.302 GB, free: 246.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.789, allocations: 0.5985 MB / 1.302 GB, free: 245.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004269/1.79, allocations: 39.98 kB / 1.302 GB, free: 245.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/1.792, allocations: 155.7 kB / 1.302 GB, free: 245.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/1.792, allocations: 109.1 kB / 1.303 GB, free: 245.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.792, allocations: 75.78 kB / 1.303 GB, free: 245.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002493/1.794, allocations: 1.971 MB / 1.305 GB, free: 243.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.794, allocations: 0 / 1.305 GB, free: 243.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004306/1.799, allocations: 1.5 MB / 1.306 GB, free: 241.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.s[1],pumRad.filter.s[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001878/1.801, allocations: 0.8353 MB / 1.307 GB, free: 241.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009361/1.81, allocations: 4.202 MB / 1.311 GB, free: 237 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.81, allocations: 4 kB / 1.311 GB, free: 237 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/1.812, allocations: 1.583 MB / 1.312 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008486/1.82, allocations: 1.697 MB / 1.314 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/1.831, allocations: 8.01 MB / 1.322 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/1.832, allocations: 2.341 MB / 1.324 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.833, allocations: 263.2 kB / 1.324 GB, free: 223 MB / 0.9981 GB Notification: Performance of SimCode: time 6.42e-07/1.833, allocations: 4 kB / 1.324 GB, free: 223 MB / 0.9981 GB Notification: Performance of Templates: time 0.1169/1.95, allocations: 124.2 MB / 1.446 GB, free: 98.96 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches