Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005941/0.005941, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001467/0.001467, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.44/1.44, allocations: 222.9 MB / 240.5 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.67/2.67, allocations: 461.8 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 62.73 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2858, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.178/0.4638, allocations: 160.7 MB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005103/0.4689, allocations: 3.526 MB / 1.213 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005698/0.4695, allocations: 19.88 kB / 1.213 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007905/0.4703, allocations: 234.9 kB / 1.213 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.4723, allocations: 0.8053 MB / 1.214 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.4733, allocations: 422.3 kB / 1.215 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.4748, allocations: 1.375 MB / 1.216 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004498/0.4753, allocations: 280.9 kB / 1.216 GB, free: 336 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006325/0.4759, allocations: 354.4 kB / 1.216 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009016/0.4768, allocations: 350.4 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.927e-05/0.4769, allocations: 20 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.4783, allocations: 0.7988 MB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.4785, allocations: 147.5 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.4788, allocations: 250.6 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008277/0.4797, allocations: 0.6977 MB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4797, allocations: 0 / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.011e-06/0.4797, allocations: 0 / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.4797, allocations: 0 / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.00147/0.4812, allocations: 0.8719 MB / 1.22 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.4812, allocations: 11.97 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.4823, allocations: 151.2 kB / 1.22 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007131/0.483, allocations: 492.9 kB / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.4831, allocations: 24.55 kB / 1.22 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.4831, allocations: 28 kB / 1.22 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.4837, allocations: 323.6 kB / 1.22 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4837, allocations: 4 kB / 1.22 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.4837, allocations: 8 kB / 1.22 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.4838, allocations: 16.5 kB / 1.221 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.4842, allocations: 222.1 kB / 1.221 GB, free: 11.5 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.002009/0.4862, allocations: 1.422 MB / 1.222 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.4866, allocations: 206.8 kB / 1.222 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.4868, allocations: 116.8 kB / 1.222 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.4869, allocations: 4 kB / 1.222 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003036/0.4872, allocations: 169.5 kB / 1.223 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 1.884e-06/0.4872, allocations: 0 / 1.223 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29): time 0.00284/0.49, allocations: 1.085 MB / 1.224 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.4901, allocations: 59.33 kB / 1.224 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.4906, allocations: 461.9 kB / 1.224 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.4906, allocations: 33.7 kB / 1.224 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.4908, allocations: 236.2 kB / 1.224 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/0.4909, allocations: 102.6 kB / 1.224 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.491, allocations: 77.98 kB / 1.225 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4912, allocations: 358.8 kB / 1.225 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.4914, allocations: 128.7 kB / 1.225 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.4917, allocations: 182.7 kB / 1.225 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.4921, allocations: 311.8 kB / 1.226 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4921, allocations: 0 / 1.226 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009971/0.4931, allocations: 493.8 kB / 1.226 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4932, allocations: 4 kB / 1.226 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4932, allocations: 4 kB / 1.226 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/0.4936, allocations: 80.8 kB / 1.226 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.4938, allocations: 71.84 kB / 1.226 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.4955, allocations: 1.729 MB / 1.228 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.4959, allocations: 15.91 kB / 1.228 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.4959, allocations: 19.98 kB / 1.228 GB, free: 3.754 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.4961, allocations: 189.7 kB / 1.228 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.598e-05/0.4962, allocations: 51.5 kB / 1.228 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.4963, allocations: 64.48 kB / 1.228 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4963, allocations: 4 kB / 1.228 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.4964, allocations: 128 / 1.228 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4964, allocations: 4 kB / 1.228 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.4979, allocations: 0.9731 MB / 1.229 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4979, allocations: 0 / 1.229 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.4983, allocations: 59.91 kB / 1.229 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003178/0.4986, allocations: 80.78 kB / 1.229 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.4987, allocations: 4 kB / 1.229 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.5001, allocations: 1.542 MB / 1.231 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5001, allocations: 0 / 1.231 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.5012, allocations: 0.5742 MB / 1.231 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.5014, allocations: 152.5 kB / 1.231 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.5015, allocations: 11.98 kB / 1.231 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.5018, allocations: 15.98 kB / 1.231 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.5019, allocations: 19.98 kB / 1.232 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.5019, allocations: 11.98 kB / 1.232 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003396/0.5023, allocations: 307.1 kB / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5023, allocations: 0 / 1.232 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005403/0.5028, allocations: 124 kB / 1.232 GB, free: 15.35 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.5038, allocations: 440.9 kB / 1.232 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000727/0.5046, allocations: 418.8 kB / 1.233 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5046, allocations: 0 / 1.233 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.5049, allocations: 250.4 kB / 1.233 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.506, allocations: 226.8 kB / 1.233 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.5078, allocations: 1.206 MB / 1.234 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.5082, allocations: 0.8545 MB / 1.235 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.5083, allocations: 35.44 kB / 1.235 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.5084, allocations: 4 kB / 1.235 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of Templates: time 0.01208/0.5204, allocations: 9.219 MB / 1.244 GB, free: 2.848 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches