Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_11_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_11_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.008028/0.008028, allocations: 97.73 kB / 15.73 MB, free: 5.988 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.001538/0.001538, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 60.12 kB / 1.065 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9825/0.984, allocations: 159.1 MB / 1.221 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2009/1.185, allocations: 163.4 MB / 1.38 GB, free: 14.11 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006454/1.191, allocations: 3.494 MB / 1.384 GB, free: 10.61 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/1.192, allocations: 19.88 kB / 1.384 GB, free: 10.59 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/1.194, allocations: 278.5 kB / 1.384 GB, free: 10.31 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002925/1.197, allocations: 0.8945 MB / 1.385 GB, free: 9.414 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/1.198, allocations: 476.3 kB / 1.385 GB, free: 8.953 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00192/1.2, allocations: 1.095 MB / 1.386 GB, free: 7.855 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006429/1.201, allocations: 280.2 kB / 1.386 GB, free: 7.574 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/1.202, allocations: 429.9 kB / 1.387 GB, free: 7.156 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/1.203, allocations: 344.4 kB / 1.387 GB, free: 6.82 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001395/1.203, allocations: 40 kB / 1.387 GB, free: 6.781 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/1.205, allocations: 0.7054 MB / 1.388 GB, free: 6.074 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003043/1.205, allocations: 175.4 kB / 1.388 GB, free: 5.902 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005017/1.205, allocations: 270.6 kB / 1.388 GB, free: 5.637 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/1.208, allocations: 0.9391 MB / 1.389 GB, free: 4.695 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.208, allocations: 0 / 1.389 GB, free: 4.695 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.462e-06/1.208, allocations: 0 / 1.389 GB, free: 4.695 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.282e-05/1.208, allocations: 0 / 1.389 GB, free: 4.695 MB / 1.107 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.002173/1.21, allocations: 0.8866 MB / 1.39 GB, free: 3.758 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.21, allocations: 12.02 kB / 1.39 GB, free: 3.746 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/1.211, allocations: 155.5 kB / 1.39 GB, free: 3.594 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/1.212, allocations: 0.4973 MB / 1.391 GB, free: 3.059 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/1.212, allocations: 24.56 kB / 1.391 GB, free: 3.035 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/1.212, allocations: 28 kB / 1.391 GB, free: 3.008 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/1.213, allocations: 323.6 kB / 1.391 GB, free: 2.684 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/1.213, allocations: 4 kB / 1.391 GB, free: 2.68 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/1.213, allocations: 8 kB / 1.391 GB, free: 2.672 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/1.213, allocations: 12.56 kB / 1.391 GB, free: 2.66 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/1.213, allocations: 226 kB / 1.391 GB, free: 2.438 MB / 1.107 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.002241/1.216, allocations: 1.423 MB / 1.393 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/1.216, allocations: 206.8 kB / 1.393 GB, free: 0.668 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/1.216, allocations: 100.8 kB / 1.393 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/1.216, allocations: 0 / 1.393 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/1.216, allocations: 168.3 kB / 1.393 GB, free: 400 kB / 1.107 GB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/1.216, allocations: 0 / 1.393 GB, free: 400 kB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.002999/1.219, allocations: 1.101 MB / 1.394 GB, free: 15.23 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/1.22, allocations: 59.34 kB / 1.394 GB, free: 15.16 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/1.22, allocations: 461.9 kB / 1.395 GB, free: 14.71 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/1.22, allocations: 41.69 kB / 1.395 GB, free: 14.66 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/1.22, allocations: 236.6 kB / 1.395 GB, free: 14.43 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/1.22, allocations: 107.1 kB / 1.395 GB, free: 14.32 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/1.221, allocations: 78.02 kB / 1.395 GB, free: 14.24 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.221, allocations: 354.8 kB / 1.396 GB, free: 13.88 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/1.221, allocations: 128.6 kB / 1.396 GB, free: 13.76 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/1.221, allocations: 182.9 kB / 1.396 GB, free: 13.56 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/1.222, allocations: 303.9 kB / 1.396 GB, free: 13.25 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.222, allocations: 4 kB / 1.396 GB, free: 13.24 MB / 1.123 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009725/1.223, allocations: 490.3 kB / 1.397 GB, free: 12.75 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/1.223, allocations: 8 kB / 1.397 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.223, allocations: 0 / 1.397 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003614/1.223, allocations: 84.95 kB / 1.397 GB, free: 12.66 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/1.223, allocations: 67.84 kB / 1.397 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/1.225, allocations: 1.904 MB / 1.399 GB, free: 10.55 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/1.226, allocations: 12.03 kB / 1.399 GB, free: 10.54 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/1.226, allocations: 20.06 kB / 1.399 GB, free: 10.52 MB / 1.123 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.0002313/1.226, allocations: 189.9 kB / 1.399 GB, free: 10.33 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/1.226, allocations: 47.66 kB / 1.399 GB, free: 10.28 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/1.226, allocations: 60.61 kB / 1.399 GB, free: 10.22 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.226, allocations: 0 / 1.399 GB, free: 10.22 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.226, allocations: 7.938 kB / 1.399 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.226, allocations: 0 / 1.399 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/1.228, allocations: 0.9793 MB / 1.4 GB, free: 9.176 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.228, allocations: 0 / 1.4 GB, free: 9.176 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/1.228, allocations: 59.95 kB / 1.4 GB, free: 9.117 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/1.228, allocations: 80.8 kB / 1.4 GB, free: 9.035 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/1.228, allocations: 11.92 kB / 1.4 GB, free: 9.023 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/1.23, allocations: 1.657 MB / 1.402 GB, free: 7.227 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/1.23, allocations: 0 / 1.402 GB, free: 7.227 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/1.231, allocations: 0.5793 MB / 1.402 GB, free: 6.629 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/1.231, allocations: 148.8 kB / 1.402 GB, free: 6.465 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/1.231, allocations: 15.94 kB / 1.402 GB, free: 6.449 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/1.232, allocations: 11.94 kB / 1.402 GB, free: 6.438 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/1.232, allocations: 15.97 kB / 1.402 GB, free: 6.422 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/1.232, allocations: 15.98 kB / 1.402 GB, free: 6.406 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003723/1.232, allocations: 311.1 kB / 1.403 GB, free: 6.102 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.21e-07/1.232, allocations: 4 kB / 1.403 GB, free: 6.098 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006079/1.233, allocations: 123.9 kB / 1.403 GB, free: 5.977 MB / 1.123 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.001149/1.234, allocations: 444.6 kB / 1.403 GB, free: 5.695 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008183/1.235, allocations: 402.4 kB / 1.404 GB, free: 5.289 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/1.235, allocations: 0 / 1.404 GB, free: 5.289 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003362/1.235, allocations: 246.5 kB / 1.404 GB, free: 5.035 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/1.236, allocations: 245.4 kB / 1.404 GB, free: 4.805 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/1.238, allocations: 0.9945 MB / 1.405 GB, free: 3.781 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/1.239, allocations: 0.854 MB / 1.406 GB, free: 2.902 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003543/1.239, allocations: 84.33 kB / 1.406 GB, free: 2.82 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.239, allocations: 43.42 kB / 1.406 GB, free: 2.777 MB / 1.123 GB Notification: Performance of SimCode: time 5.81e-07/1.239, allocations: 0 / 1.406 GB, free: 2.777 MB / 1.123 GB Notification: Performance of Templates: time 0.01811/1.257, allocations: 8.919 MB / 1.415 GB, free: 9.984 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_11_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches