Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_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_10_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.001461/0.001461, allocations: 109.3 kB / 16.41 MB, free: 6.453 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.001622/0.001622, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 59.91 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7487, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1662/0.915, allocations: 162.9 MB / 1.326 GB, free: 268 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005352/0.9204, allocations: 3.469 MB / 1.33 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005845/0.921, allocations: 15.94 kB / 1.33 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008908/0.9219, allocations: 290.4 kB / 1.33 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.9241, allocations: 0.8867 MB / 1.331 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.9253, allocations: 482.2 kB / 1.331 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.9268, allocations: 1.099 MB / 1.332 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000506/0.9273, allocations: 324.2 kB / 1.333 GB, free: 9.695 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007774/0.9281, allocations: 433.9 kB / 1.333 GB, free: 9.273 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009849/0.9291, allocations: 350.5 kB / 1.334 GB, free: 8.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.9292, allocations: 40 kB / 1.334 GB, free: 8.891 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.9305, allocations: 0.7015 MB / 1.334 GB, free: 8.188 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.9307, allocations: 167.5 kB / 1.334 GB, free: 8.023 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.931, allocations: 266.7 kB / 1.335 GB, free: 7.762 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.9325, allocations: 0.9391 MB / 1.336 GB, free: 6.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9325, allocations: 0 / 1.336 GB, free: 6.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9326, allocations: 4 kB / 1.336 GB, free: 6.816 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.432e-05/0.9326, allocations: 3.938 kB / 1.336 GB, free: 6.812 MB / 1.061 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.001479/0.9341, allocations: 0.8866 MB / 1.336 GB, free: 5.871 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.9341, allocations: 8.922 kB / 1.336 GB, free: 5.863 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.9352, allocations: 151.6 kB / 1.337 GB, free: 5.715 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007379/0.9359, allocations: 0.5013 MB / 1.337 GB, free: 5.172 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.9359, allocations: 24.55 kB / 1.337 GB, free: 5.148 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.936, allocations: 32 kB / 1.337 GB, free: 5.117 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.9365, allocations: 315.6 kB / 1.337 GB, free: 4.801 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.9366, allocations: 8 kB / 1.337 GB, free: 4.793 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.9366, allocations: 12 kB / 1.337 GB, free: 4.781 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.9366, allocations: 12.56 kB / 1.337 GB, free: 4.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.937, allocations: 218.1 kB / 1.338 GB, free: 4.555 MB / 1.061 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.001842/0.9389, allocations: 1.418 MB / 1.339 GB, free: 3.004 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.9393, allocations: 219.8 kB / 1.339 GB, free: 2.781 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.9395, allocations: 108.8 kB / 1.339 GB, free: 2.672 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.9395, allocations: 3.984 kB / 1.339 GB, free: 2.668 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.9398, allocations: 167.6 kB / 1.34 GB, free: 2.492 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/0.9398, allocations: 0 / 1.34 GB, free: 2.492 MB / 1.061 GB Notification: Performance of matching and sorting (n=29): time 0.002797/0.9426, allocations: 1.095 MB / 1.341 GB, free: 1.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.9427, allocations: 59.34 kB / 1.341 GB, free: 1.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/0.9432, allocations: 465.9 kB / 1.341 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.9432, allocations: 29.7 kB / 1.341 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.9434, allocations: 240.6 kB / 1.341 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.699e-05/0.9435, allocations: 107.1 kB / 1.341 GB, free: 440 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.9436, allocations: 78.03 kB / 1.342 GB, free: 356 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.9438, allocations: 358.8 kB / 1.342 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.944, allocations: 124.7 kB / 1.342 GB, free: 15.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.9443, allocations: 186.7 kB / 1.342 GB, free: 15.67 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.9447, allocations: 303.8 kB / 1.342 GB, free: 15.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9447, allocations: 0 / 1.342 GB, free: 15.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009816/0.9457, allocations: 494.5 kB / 1.343 GB, free: 14.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.9458, allocations: 4 kB / 1.343 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.9458, allocations: 4 kB / 1.343 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.9461, allocations: 88.86 kB / 1.343 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.9464, allocations: 71.84 kB / 1.343 GB, free: 14.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.9482, allocations: 1.904 MB / 1.345 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.9486, allocations: 12 kB / 1.345 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.9486, allocations: 8 kB / 1.345 GB, free: 12.63 MB / 1.076 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.0002515/0.9489, allocations: 200.6 kB / 1.345 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.949, allocations: 51.72 kB / 1.345 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.9491, allocations: 56.61 kB / 1.345 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.9491, allocations: 4 kB / 1.345 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9491, allocations: 0 / 1.345 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.9491, allocations: 0 / 1.345 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.9507, allocations: 0.9758 MB / 1.346 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.9507, allocations: 4 kB / 1.346 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.9511, allocations: 64.03 kB / 1.346 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/0.9514, allocations: 80.78 kB / 1.346 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.9514, allocations: 11.94 kB / 1.346 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.9528, allocations: 1.653 MB / 1.348 GB, free: 9.324 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9528, allocations: 0 / 1.348 GB, free: 9.324 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.9539, allocations: 0.5716 MB / 1.349 GB, free: 8.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.9541, allocations: 152.8 kB / 1.349 GB, free: 8.562 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/0.9541, allocations: 16.06 kB / 1.349 GB, free: 8.547 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.9545, allocations: 15.92 kB / 1.349 GB, free: 8.531 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.9546, allocations: 11.98 kB / 1.349 GB, free: 8.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.9546, allocations: 15.98 kB / 1.349 GB, free: 8.504 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003686/0.955, allocations: 311.1 kB / 1.349 GB, free: 8.207 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.51e-07/0.955, allocations: 0 / 1.349 GB, free: 8.207 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005237/0.9555, allocations: 120 kB / 1.349 GB, free: 8.09 MB / 1.076 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.001048/0.9566, allocations: 437.2 kB / 1.35 GB, free: 7.812 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000778/0.9574, allocations: 427 kB / 1.35 GB, free: 7.383 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.9574, allocations: 4 kB / 1.35 GB, free: 7.379 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.9577, allocations: 246.5 kB / 1.35 GB, free: 7.125 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.9588, allocations: 243.7 kB / 1.35 GB, free: 6.902 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.9605, allocations: 1.039 MB / 1.352 GB, free: 5.832 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.961, allocations: 0.8543 MB / 1.352 GB, free: 4.953 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.9612, allocations: 39.38 kB / 1.352 GB, free: 4.914 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.9612, allocations: 3.938 kB / 1.352 GB, free: 4.91 MB / 1.076 GB Notification: Performance of Templates: time 0.01338/0.9745, allocations: 9.266 MB / 1.361 GB, free: 11.7 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches