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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008519/0.008519, allocations: 104.9 kB / 15.74 MB, free: 6.059 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.001637/0.001637, allocations: 198.7 kB / 16.68 MB, free: 5.969 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.452/1.452, 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.0.1-master/package.mo): time 2.681/2.681, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.89 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9633/0.9646, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2047/1.169, allocations: 162.9 MB / 1.367 GB, free: 10.07 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006746/1.176, allocations: 3.471 MB / 1.37 GB, free: 6.598 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009654/1.177, allocations: 19.88 kB / 1.37 GB, free: 6.578 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001362/1.179, allocations: 286.4 kB / 1.37 GB, free: 6.297 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003135/1.182, allocations: 0.8945 MB / 1.371 GB, free: 5.398 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/1.184, allocations: 474.4 kB / 1.372 GB, free: 4.938 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002271/1.186, allocations: 1.091 MB / 1.373 GB, free: 3.844 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008619/1.187, allocations: 336.6 kB / 1.373 GB, free: 3.512 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/1.188, allocations: 430.3 kB / 1.374 GB, free: 3.09 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/1.189, allocations: 351.4 kB / 1.374 GB, free: 2.75 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/1.189, allocations: 40 kB / 1.374 GB, free: 2.711 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/1.191, allocations: 0.6976 MB / 1.375 GB, free: 2.012 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/1.191, allocations: 167.5 kB / 1.375 GB, free: 1.848 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005828/1.192, allocations: 266.7 kB / 1.375 GB, free: 1.586 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/1.194, allocations: 0.9405 MB / 1.376 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.194, allocations: 0 / 1.376 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.824e-06/1.194, allocations: 0 / 1.376 GB, free: 0.6445 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.753e-05/1.194, allocations: 0 / 1.376 GB, free: 0.6445 MB / 1.092 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.002153/1.196, allocations: 0.868 MB / 1.377 GB, free: 15.73 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.196, allocations: 12.03 kB / 1.377 GB, free: 15.71 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/1.198, allocations: 143.2 kB / 1.377 GB, free: 15.57 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/1.199, allocations: 0.5047 MB / 1.377 GB, free: 15.03 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/1.199, allocations: 24.56 kB / 1.377 GB, free: 15 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-05/1.199, allocations: 28 kB / 1.378 GB, free: 14.97 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/1.2, allocations: 327.6 kB / 1.378 GB, free: 14.64 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.2, allocations: 0 / 1.378 GB, free: 14.64 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/1.2, allocations: 12 kB / 1.378 GB, free: 14.63 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/1.2, allocations: 8.562 kB / 1.378 GB, free: 14.62 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/1.2, allocations: 222.1 kB / 1.378 GB, free: 14.41 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.002724/1.203, allocations: 1.426 MB / 1.379 GB, free: 12.85 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/1.203, allocations: 214.8 kB / 1.38 GB, free: 12.63 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/1.204, allocations: 105.3 kB / 1.38 GB, free: 12.52 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/1.204, allocations: 11.92 kB / 1.38 GB, free: 12.51 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/1.204, allocations: 164.1 kB / 1.38 GB, free: 12.34 MB / 1.107 GB Notification: Performance of pre-optimization done (n=26): time 2.615e-06/1.204, allocations: 4 kB / 1.38 GB, free: 12.34 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.003019/1.207, allocations: 1.077 MB / 1.381 GB, free: 11.2 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/1.207, allocations: 59.34 kB / 1.381 GB, free: 11.13 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/1.208, allocations: 461.8 kB / 1.381 GB, free: 10.67 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/1.208, allocations: 41.7 kB / 1.382 GB, free: 10.62 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/1.208, allocations: 232.3 kB / 1.382 GB, free: 10.39 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/1.208, allocations: 110.5 kB / 1.382 GB, free: 10.29 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/1.208, allocations: 66.08 kB / 1.382 GB, free: 10.21 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.208, allocations: 358.8 kB / 1.382 GB, free: 9.855 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/1.209, allocations: 128.7 kB / 1.382 GB, free: 9.73 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/1.209, allocations: 182.9 kB / 1.383 GB, free: 9.535 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/1.209, allocations: 303.8 kB / 1.383 GB, free: 9.223 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.209, allocations: 0 / 1.383 GB, free: 9.223 MB / 1.107 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001014/1.21, allocations: 490.1 kB / 1.383 GB, free: 8.734 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.21, allocations: 8 kB / 1.383 GB, free: 8.727 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.21, allocations: 0 / 1.383 GB, free: 8.727 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003647/1.211, allocations: 84.95 kB / 1.383 GB, free: 8.641 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/1.211, allocations: 67.91 kB / 1.383 GB, free: 8.574 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/1.213, allocations: 1.912 MB / 1.385 GB, free: 6.527 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/1.213, allocations: 8.031 kB / 1.385 GB, free: 6.52 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/1.213, allocations: 20.06 kB / 1.385 GB, free: 6.5 MB / 1.107 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.0002474/1.214, allocations: 189.8 kB / 1.386 GB, free: 6.305 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.169e-05/1.214, allocations: 47.38 kB / 1.386 GB, free: 6.258 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/1.214, allocations: 64.64 kB / 1.386 GB, free: 6.191 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/1.214, allocations: 0 / 1.386 GB, free: 6.191 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/1.214, allocations: 4 kB / 1.386 GB, free: 6.188 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1.214, allocations: 0 / 1.386 GB, free: 6.188 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/1.215, allocations: 0.9762 MB / 1.387 GB, free: 5.148 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.215, allocations: 0 / 1.387 GB, free: 5.148 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/1.216, allocations: 59.91 kB / 1.387 GB, free: 5.09 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000298/1.216, allocations: 84.78 kB / 1.387 GB, free: 5.004 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/1.216, allocations: 11.94 kB / 1.387 GB, free: 4.992 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/1.218, allocations: 1.649 MB / 1.388 GB, free: 3.203 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.218, allocations: 0 / 1.388 GB, free: 3.203 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009927/1.219, allocations: 0.5669 MB / 1.389 GB, free: 2.617 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/1.219, allocations: 152.5 kB / 1.389 GB, free: 2.449 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/1.219, allocations: 8 kB / 1.389 GB, free: 2.441 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/1.219, allocations: 15.92 kB / 1.389 GB, free: 2.426 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/1.219, allocations: 20.22 kB / 1.389 GB, free: 2.406 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/1.219, allocations: 11.98 kB / 1.389 GB, free: 2.395 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003431/1.22, allocations: 307.1 kB / 1.389 GB, free: 2.098 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.22, allocations: 4 kB / 1.389 GB, free: 2.094 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005242/1.22, allocations: 124 kB / 1.39 GB, free: 1.973 MB / 1.107 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.001093/1.221, allocations: 449.6 kB / 1.39 GB, free: 1.688 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0007334/1.222, allocations: 422.4 kB / 1.39 GB, free: 1.262 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.222, allocations: 0 / 1.39 GB, free: 1.262 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/1.222, allocations: 251 kB / 1.391 GB, free: 1.004 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/1.223, allocations: 235 kB / 1.391 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/1.225, allocations: 1.002 MB / 1.392 GB, free: 15.75 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/1.225, allocations: 0.8426 MB / 1.393 GB, free: 14.89 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002814/1.226, allocations: 84.31 kB / 1.393 GB, free: 14.8 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/1.226, allocations: 35.44 kB / 1.393 GB, free: 14.77 MB / 1.123 GB Notification: Performance of SimCode: time 7.11e-07/1.226, allocations: 4 kB / 1.393 GB, free: 14.76 MB / 1.123 GB Notification: Performance of Templates: time 0.01736/1.243, allocations: 8.888 MB / 1.401 GB, free: 5.984 MB / 1.123 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches