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.001249/0.001249, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001299/0.001299, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.389/1.389, 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.458/2.458, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.89 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7786, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1674/0.9461, allocations: 162.9 MB / 1.326 GB, free: 300 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005739/0.9519, allocations: 3.487 MB / 1.33 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007019/0.9526, allocations: 19.88 kB / 1.33 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009538/0.9536, allocations: 278.5 kB / 1.33 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.956, allocations: 0.8906 MB / 1.331 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.9573, allocations: 481.4 kB / 1.331 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.9589, allocations: 1.096 MB / 1.332 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005664/0.9595, allocations: 332.1 kB / 1.333 GB, free: 9.715 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008381/0.9604, allocations: 430.3 kB / 1.333 GB, free: 9.293 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.9614, allocations: 344.4 kB / 1.334 GB, free: 8.957 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.9616, allocations: 40 kB / 1.334 GB, free: 8.918 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.9629, allocations: 0.7016 MB / 1.334 GB, free: 8.215 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.9632, allocations: 171.5 kB / 1.334 GB, free: 8.047 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.9635, allocations: 270.6 kB / 1.335 GB, free: 7.781 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.965, allocations: 0.9327 MB / 1.336 GB, free: 6.848 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.965, allocations: 0 / 1.336 GB, free: 6.848 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.965, allocations: 0 / 1.336 GB, free: 6.848 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.096e-05/0.965, allocations: 0 / 1.336 GB, free: 6.848 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.001564/0.9666, allocations: 0.8719 MB / 1.336 GB, free: 5.922 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.9666, allocations: 8.031 kB / 1.336 GB, free: 5.914 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.9678, allocations: 151.2 kB / 1.337 GB, free: 5.766 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008506/0.9686, allocations: 0.4969 MB / 1.337 GB, free: 5.227 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.9687, allocations: 24.55 kB / 1.337 GB, free: 5.203 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.9688, allocations: 35.98 kB / 1.337 GB, free: 5.168 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.9693, allocations: 315.7 kB / 1.337 GB, free: 4.852 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.9693, allocations: 4 kB / 1.337 GB, free: 4.848 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.9694, allocations: 8 kB / 1.337 GB, free: 4.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.9694, allocations: 16.5 kB / 1.337 GB, free: 4.824 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.9698, allocations: 222.1 kB / 1.338 GB, free: 4.605 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.002027/0.9719, allocations: 1.418 MB / 1.339 GB, free: 3.055 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.9723, allocations: 214.8 kB / 1.339 GB, free: 2.836 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.9725, allocations: 112.8 kB / 1.339 GB, free: 2.723 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.9726, allocations: 0 / 1.339 GB, free: 2.723 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/0.9729, allocations: 175.6 kB / 1.34 GB, free: 2.539 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.9729, allocations: 0 / 1.34 GB, free: 2.539 MB / 1.061 GB Notification: Performance of matching and sorting (n=29): time 0.002974/0.9759, allocations: 1.079 MB / 1.341 GB, free: 1.402 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.9759, allocations: 59.34 kB / 1.341 GB, free: 1.332 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005449/0.9765, allocations: 465.8 kB / 1.341 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.9765, allocations: 33.7 kB / 1.341 GB, free: 0.832 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.9767, allocations: 240.2 kB / 1.341 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.442e-05/0.9768, allocations: 106.5 kB / 1.341 GB, free: 500 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.9769, allocations: 74.06 kB / 1.342 GB, free: 420 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.9771, allocations: 350.8 kB / 1.342 GB, free: 60 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.9774, allocations: 132.7 kB / 1.342 GB, free: 15.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.9776, allocations: 186.7 kB / 1.342 GB, free: 15.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.9781, allocations: 303.9 kB / 1.342 GB, free: 15.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.9781, allocations: 0 / 1.342 GB, free: 15.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001001/0.9791, allocations: 490.1 kB / 1.343 GB, free: 14.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.9791, allocations: 4 kB / 1.343 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.9792, allocations: 4 kB / 1.343 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003817/0.9795, allocations: 88.94 kB / 1.343 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.9798, allocations: 63.92 kB / 1.343 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.9817, allocations: 1.904 MB / 1.345 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003676/0.9821, allocations: 15.98 kB / 1.345 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.9821, allocations: 12 kB / 1.345 GB, free: 12.7 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.00024/0.9824, allocations: 193.9 kB / 1.345 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-05/0.9825, allocations: 55.36 kB / 1.345 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.9826, allocations: 56.56 kB / 1.345 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9826, allocations: 7.938 kB / 1.345 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9826, allocations: 0 / 1.345 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9826, allocations: 0 / 1.345 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.9843, allocations: 0.9642 MB / 1.346 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.9843, allocations: 0 / 1.346 GB, free: 11.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.9847, allocations: 59.97 kB / 1.346 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003152/0.985, allocations: 80.78 kB / 1.346 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.985, allocations: 11.94 kB / 1.346 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.9865, allocations: 1.649 MB / 1.348 GB, free: 9.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9865, allocations: 0 / 1.348 GB, free: 9.41 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.9875, allocations: 0.5713 MB / 1.349 GB, free: 8.816 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.9878, allocations: 152.8 kB / 1.349 GB, free: 8.648 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.9878, allocations: 8 kB / 1.349 GB, free: 8.641 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.9882, allocations: 19.91 kB / 1.349 GB, free: 8.621 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.9883, allocations: 19.97 kB / 1.349 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.9883, allocations: 8 kB / 1.349 GB, free: 8.594 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003557/0.9887, allocations: 315.1 kB / 1.349 GB, free: 8.293 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9887, allocations: 0 / 1.349 GB, free: 8.293 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005247/0.9892, allocations: 128 kB / 1.349 GB, free: 8.168 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.001002/0.9902, allocations: 445.7 kB / 1.35 GB, free: 7.891 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007539/0.991, allocations: 418.8 kB / 1.35 GB, free: 7.469 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.991, allocations: 0 / 1.35 GB, free: 7.469 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.9913, allocations: 242.5 kB / 1.35 GB, free: 7.219 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.9924, allocations: 250.2 kB / 1.35 GB, free: 6.984 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.9942, allocations: 1.036 MB / 1.351 GB, free: 5.914 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.9946, allocations: 0.8426 MB / 1.352 GB, free: 5.047 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.9947, allocations: 43.42 kB / 1.352 GB, free: 5.004 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.9947, allocations: 0 / 1.352 GB, free: 5.004 MB / 1.076 GB Notification: Performance of Templates: time 0.01268/1.007, allocations: 9.28 MB / 1.361 GB, free: 11.78 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