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.007825/0.007832, allocations: 102.5 kB / 15.73 MB, free: 6.012 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.001315/0.001315, allocations: 194.8 kB / 16.67 MB, free: 5.949 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.792/2.792, allocations: 461.9 MB / 0.7347 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 59.91 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.379, allocations: 157.4 MB / 1.208 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 1.045/1.424, allocations: 162.9 MB / 1.367 GB, free: 4.266 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00637/1.43, allocations: 3.479 MB / 1.37 GB, free: 1.824 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/1.432, allocations: 20.91 kB / 1.37 GB, free: 1.816 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/1.433, allocations: 280 kB / 1.37 GB, free: 1.672 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002728/1.435, allocations: 0.8508 MB / 1.371 GB, free: 1.199 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/1.437, allocations: 489.3 kB / 1.372 GB, free: 0.9258 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002095/1.439, allocations: 1.092 MB / 1.373 GB, free: 432 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007371/1.44, allocations: 318.7 kB / 1.373 GB, free: 288 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/1.441, allocations: 426.5 kB / 1.374 GB, free: 88 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/1.443, allocations: 349.4 kB / 1.374 GB, free: 15.94 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/1.443, allocations: 42.91 kB / 1.374 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/1.445, allocations: 0.6932 MB / 1.375 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/1.445, allocations: 171.2 kB / 1.375 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006927/1.446, allocations: 269.6 kB / 1.375 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002708/1.449, allocations: 0.9318 MB / 1.376 GB, free: 14.89 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.449, allocations: 4 kB / 1.376 GB, free: 14.88 MB / 1.076 GB Notification: Performance of FrontEnd: time 5.059e-06/1.449, allocations: 0 / 1.376 GB, free: 14.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.833e-05/1.449, allocations: 3.938 kB / 1.376 GB, free: 14.88 MB / 1.076 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.00263/1.452, allocations: 0.8665 MB / 1.377 GB, free: 14.15 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.452, allocations: 10.69 kB / 1.377 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/1.453, allocations: 149.2 kB / 1.377 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/1.454, allocations: 0.5079 MB / 1.377 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/1.454, allocations: 19.91 kB / 1.377 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/1.454, allocations: 31.19 kB / 1.377 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007022/1.455, allocations: 318.2 kB / 1.378 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.455, allocations: 3.984 kB / 1.378 GB, free: 13.42 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/1.455, allocations: 15.52 kB / 1.378 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/1.455, allocations: 18.28 kB / 1.378 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000509/1.456, allocations: 216.2 kB / 1.378 GB, free: 13.3 MB / 1.076 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.002602/1.458, allocations: 1.407 MB / 1.379 GB, free: 12.03 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/1.459, allocations: 222.4 kB / 1.38 GB, free: 11.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/1.459, allocations: 105.7 kB / 1.38 GB, free: 11.85 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/1.459, allocations: 11.39 kB / 1.38 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003287/1.46, allocations: 158.9 kB / 1.38 GB, free: 11.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 3.086e-06/1.46, allocations: 3.938 kB / 1.38 GB, free: 11.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=29): time 0.00329/1.463, allocations: 1.09 MB / 1.381 GB, free: 11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/1.463, allocations: 59.47 kB / 1.381 GB, free: 10.94 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/1.464, allocations: 464.3 kB / 1.381 GB, free: 10.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/1.464, allocations: 31.8 kB / 1.381 GB, free: 10.63 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/1.464, allocations: 237.1 kB / 1.382 GB, free: 10.42 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/1.464, allocations: 107.8 kB / 1.382 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/1.464, allocations: 76.53 kB / 1.382 GB, free: 10.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.464, allocations: 357.4 kB / 1.382 GB, free: 9.926 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/1.465, allocations: 125.3 kB / 1.382 GB, free: 9.867 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/1.465, allocations: 180.8 kB / 1.383 GB, free: 9.746 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/1.466, allocations: 304.4 kB / 1.383 GB, free: 9.562 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.466, allocations: 1.625 kB / 1.383 GB, free: 9.562 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001101/1.467, allocations: 495.8 kB / 1.383 GB, free: 9.293 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.467, allocations: 10.22 kB / 1.383 GB, free: 9.289 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.467, allocations: 1.312 kB / 1.383 GB, free: 9.289 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/1.467, allocations: 87.02 kB / 1.383 GB, free: 9.242 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/1.467, allocations: 62.56 kB / 1.383 GB, free: 9.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/1.469, allocations: 1.912 MB / 1.385 GB, free: 7.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/1.47, allocations: 12.12 kB / 1.385 GB, free: 7.402 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/1.47, allocations: 10.16 kB / 1.385 GB, free: 7.402 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.0003492/1.47, allocations: 200.4 kB / 1.386 GB, free: 7.234 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/1.47, allocations: 49.19 kB / 1.386 GB, free: 7.207 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/1.471, allocations: 50.34 kB / 1.386 GB, free: 7.172 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.471, allocations: 6.906 kB / 1.386 GB, free: 7.168 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.471, allocations: 1.094 kB / 1.386 GB, free: 7.168 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.471, allocations: 5.047 kB / 1.386 GB, free: 7.164 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/1.473, allocations: 0.9675 MB / 1.387 GB, free: 6.422 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.473, allocations: 3.312 kB / 1.387 GB, free: 6.422 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003695/1.473, allocations: 64.64 kB / 1.387 GB, free: 6.406 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003231/1.473, allocations: 75.45 kB / 1.387 GB, free: 6.363 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/1.473, allocations: 15.95 kB / 1.387 GB, free: 6.352 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/1.475, allocations: 1.643 MB / 1.388 GB, free: 4.746 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.475, allocations: 0 / 1.388 GB, free: 4.746 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/1.476, allocations: 0.5749 MB / 1.389 GB, free: 4.371 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/1.476, allocations: 146.3 kB / 1.389 GB, free: 4.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/1.477, allocations: 15.2 kB / 1.389 GB, free: 4.219 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/1.477, allocations: 9.047 kB / 1.389 GB, free: 4.215 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/1.477, allocations: 21.62 kB / 1.389 GB, free: 4.203 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.623e-05/1.477, allocations: 16.11 kB / 1.389 GB, free: 4.195 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004846/1.478, allocations: 309.1 kB / 1.389 GB, free: 4.016 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.478, allocations: 3.938 kB / 1.389 GB, free: 4.012 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007644/1.478, allocations: 120.9 kB / 1.389 GB, free: 4 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.001201/1.48, allocations: 442.6 kB / 1.39 GB, free: 3.789 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.481, allocations: 420.9 kB / 1.39 GB, free: 3.531 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.481, allocations: 3.938 kB / 1.39 GB, free: 3.527 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000425/1.481, allocations: 255.6 kB / 1.391 GB, free: 3.34 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.482, allocations: 236.9 kB / 1.391 GB, free: 3.223 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/1.485, allocations: 0.9945 MB / 1.392 GB, free: 2.559 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005267/1.485, allocations: 0.8586 MB / 1.393 GB, free: 1.777 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004451/1.486, allocations: 80.17 kB / 1.393 GB, free: 1.738 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/1.486, allocations: 39.02 kB / 1.393 GB, free: 1.727 MB / 1.076 GB Notification: Performance of SimCode: time 5.61e-07/1.486, allocations: 0 / 1.393 GB, free: 1.727 MB / 1.076 GB Notification: Performance of Templates: time 0.0192/1.505, allocations: 9.046 MB / 1.402 GB, free: 13.2 MB / 1.092 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