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.001584/0.001585, allocations: 104.9 kB / 16.41 MB, free: 6.504 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.00171/0.00171, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.449/1.449, 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.578/2.578, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 151.6 MB / 1.167 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2076/1.235, allocations: 162.9 MB / 1.326 GB, free: 428 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006537/1.241, allocations: 3.479 MB / 1.33 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007854/1.242, allocations: 19.88 kB / 1.33 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009902/1.243, allocations: 286.5 kB / 1.33 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002673/1.246, allocations: 0.8921 MB / 1.331 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/1.247, allocations: 481.1 kB / 1.331 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001903/1.249, allocations: 1.096 MB / 1.332 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/1.25, allocations: 324.2 kB / 1.333 GB, free: 9.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009867/1.251, allocations: 423.3 kB / 1.333 GB, free: 9.426 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/1.252, allocations: 358.5 kB / 1.334 GB, free: 9.078 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.918e-05/1.252, allocations: 40 kB / 1.334 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/1.254, allocations: 0.6976 MB / 1.334 GB, free: 8.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002333/1.254, allocations: 171.5 kB / 1.334 GB, free: 8.172 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003544/1.255, allocations: 270.7 kB / 1.335 GB, free: 7.906 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/1.256, allocations: 0.942 MB / 1.336 GB, free: 6.961 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/1.256, allocations: 4 kB / 1.336 GB, free: 6.957 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.954e-06/1.256, allocations: 0 / 1.336 GB, free: 6.957 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.719e-06/1.256, allocations: 0 / 1.336 GB, free: 6.957 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.001777/1.258, allocations: 0.8866 MB / 1.336 GB, free: 6.016 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/1.258, allocations: 12.92 kB / 1.336 GB, free: 6.004 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/1.259, allocations: 147.5 kB / 1.337 GB, free: 5.859 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/1.26, allocations: 0.5052 MB / 1.337 GB, free: 5.312 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/1.26, allocations: 20.56 kB / 1.337 GB, free: 5.293 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/1.26, allocations: 32 kB / 1.337 GB, free: 5.262 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/1.261, allocations: 319.7 kB / 1.337 GB, free: 4.941 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/1.261, allocations: 0 / 1.337 GB, free: 4.941 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/1.261, allocations: 15.98 kB / 1.337 GB, free: 4.926 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/1.261, allocations: 8.562 kB / 1.337 GB, free: 4.918 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/1.262, allocations: 222.1 kB / 1.338 GB, free: 4.699 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.002239/1.264, allocations: 1.426 MB / 1.339 GB, free: 3.141 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/1.264, allocations: 217.8 kB / 1.339 GB, free: 2.922 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/1.264, allocations: 108.8 kB / 1.339 GB, free: 2.812 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/1.264, allocations: 4 kB / 1.339 GB, free: 2.809 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003323/1.265, allocations: 171.6 kB / 1.34 GB, free: 2.629 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.864e-06/1.265, allocations: 0 / 1.34 GB, free: 2.629 MB / 1.061 GB Notification: Performance of matching and sorting (n=29): time 0.003075/1.268, allocations: 1.095 MB / 1.341 GB, free: 1.477 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/1.268, allocations: 63.28 kB / 1.341 GB, free: 1.402 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006/1.269, allocations: 457.9 kB / 1.341 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/1.269, allocations: 41.7 kB / 1.341 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/1.269, allocations: 240.5 kB / 1.341 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/1.269, allocations: 107.1 kB / 1.342 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/1.269, allocations: 74.02 kB / 1.342 GB, free: 492 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002053/1.269, allocations: 358.8 kB / 1.342 GB, free: 124 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/1.27, allocations: 124.6 kB / 1.342 GB, free: 0 / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/1.27, allocations: 186.7 kB / 1.342 GB, free: 15.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/1.27, allocations: 299.9 kB / 1.343 GB, free: 15.49 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.27, allocations: 4 kB / 1.343 GB, free: 15.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001311/1.272, allocations: 494.4 kB / 1.343 GB, free: 14.99 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.272, allocations: 8 kB / 1.343 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.272, allocations: 0 / 1.343 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004337/1.272, allocations: 84.95 kB / 1.343 GB, free: 14.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/1.273, allocations: 67.91 kB / 1.343 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/1.275, allocations: 1.908 MB / 1.345 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/1.275, allocations: 16.03 kB / 1.345 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/1.276, allocations: 16.06 kB / 1.345 GB, free: 12.76 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.0004156/1.276, allocations: 193.8 kB / 1.345 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/1.276, allocations: 47.66 kB / 1.345 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/1.276, allocations: 52.62 kB / 1.345 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.276, allocations: 0 / 1.345 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/1.276, allocations: 11.92 kB / 1.345 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.276, allocations: 0 / 1.345 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/1.278, allocations: 0.972 MB / 1.346 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.278, allocations: 0 / 1.346 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/1.279, allocations: 59.95 kB / 1.346 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/1.279, allocations: 80.8 kB / 1.346 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/1.279, allocations: 11.92 kB / 1.346 GB, free: 11.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.281, allocations: 1.649 MB / 1.348 GB, free: 9.469 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.281, allocations: 3.984 kB / 1.348 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/1.282, allocations: 0.5716 MB / 1.349 GB, free: 8.871 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/1.282, allocations: 156.8 kB / 1.349 GB, free: 8.699 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.345e-05/1.283, allocations: 8 kB / 1.349 GB, free: 8.691 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/1.283, allocations: 11.94 kB / 1.349 GB, free: 8.68 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/1.283, allocations: 23.97 kB / 1.349 GB, free: 8.656 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/1.283, allocations: 7.984 kB / 1.349 GB, free: 8.648 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004638/1.283, allocations: 311.1 kB / 1.349 GB, free: 8.352 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.384e-06/1.284, allocations: 4 kB / 1.349 GB, free: 8.348 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000605/1.284, allocations: 127.9 kB / 1.349 GB, free: 8.223 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.001717/1.286, allocations: 439 kB / 1.35 GB, free: 7.949 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000949/1.287, allocations: 422.8 kB / 1.35 GB, free: 7.523 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.287, allocations: 0 / 1.35 GB, free: 7.523 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/1.287, allocations: 250.5 kB / 1.35 GB, free: 7.266 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.288, allocations: 246.7 kB / 1.351 GB, free: 7.035 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/1.29, allocations: 1.002 MB / 1.351 GB, free: 6.004 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/1.291, allocations: 0.8465 MB / 1.352 GB, free: 5.133 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003279/1.291, allocations: 88.31 kB / 1.352 GB, free: 5.047 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/1.291, allocations: 39.42 kB / 1.352 GB, free: 5.008 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/1.291, allocations: 4 kB / 1.352 GB, free: 5.004 MB / 1.076 GB Notification: Performance of Templates: time 0.01844/1.31, allocations: 8.917 MB / 1.361 GB, free: 12.2 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 -s cvode -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