Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001518/0.001519, allocations: 106.6 kB / 16.41 MB, free: 6.441 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.001702/0.001702, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.45/1.45, 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 9.1.3-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 67.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.221/1.303, allocations: 162.9 MB / 1.248 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00683/1.31, allocations: 3.491 MB / 1.251 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/1.311, allocations: 15.94 kB / 1.251 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/1.312, allocations: 290.4 kB / 1.251 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002881/1.315, allocations: 0.8906 MB / 1.252 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/1.317, allocations: 478.5 kB / 1.253 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001787/1.318, allocations: 1.095 MB / 1.254 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006901/1.319, allocations: 336.1 kB / 1.254 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/1.32, allocations: 422.3 kB / 1.254 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/1.321, allocations: 350.6 kB / 1.255 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/1.322, allocations: 40 kB / 1.255 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/1.323, allocations: 0.6898 MB / 1.256 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000258/1.324, allocations: 171.5 kB / 1.256 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004094/1.324, allocations: 270.6 kB / 1.256 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001818/1.326, allocations: 0.9327 MB / 1.257 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.326, allocations: 0 / 1.257 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/1.326, allocations: 4 kB / 1.257 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.484e-05/1.326, allocations: 0 / 1.257 GB, free: 1.414 MB / 0.9825 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.001771/1.328, allocations: 0.8679 MB / 1.258 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.328, allocations: 11.97 kB / 1.258 GB, free: 492 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/1.329, allocations: 155.2 kB / 1.258 GB, free: 336 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008927/1.33, allocations: 0.5008 MB / 1.258 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/1.33, allocations: 20.56 kB / 1.258 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/1.33, allocations: 36 kB / 1.258 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005906/1.33, allocations: 315.7 kB / 1.259 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/1.33, allocations: 0 / 1.259 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/1.331, allocations: 12 kB / 1.259 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/1.331, allocations: 16.55 kB / 1.259 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/1.331, allocations: 222.1 kB / 1.259 GB, free: 15.17 MB / 0.9981 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.002189/1.333, allocations: 1.406 MB / 1.26 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/1.334, allocations: 222.6 kB / 1.261 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/1.334, allocations: 111.2 kB / 1.261 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/1.334, allocations: 4 kB / 1.261 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003078/1.334, allocations: 163.7 kB / 1.261 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.763e-06/1.334, allocations: 0 / 1.261 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.002849/1.337, allocations: 1.103 MB / 1.262 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/1.337, allocations: 63.34 kB / 1.262 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005901/1.338, allocations: 453.9 kB / 1.262 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/1.338, allocations: 33.7 kB / 1.262 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/1.338, allocations: 252.1 kB / 1.263 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/1.338, allocations: 94.59 kB / 1.263 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/1.338, allocations: 81.97 kB / 1.263 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.338, allocations: 354.8 kB / 1.263 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/1.339, allocations: 124.7 kB / 1.263 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/1.339, allocations: 186.8 kB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/1.339, allocations: 303.8 kB / 1.264 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.339, allocations: 4 kB / 1.264 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009821/1.34, allocations: 490.2 kB / 1.264 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.34, allocations: 8 kB / 1.264 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.34, allocations: 0 / 1.264 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/1.341, allocations: 88.89 kB / 1.264 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/1.341, allocations: 63.91 kB / 1.264 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/1.343, allocations: 1.903 MB / 1.266 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/1.343, allocations: 16.06 kB / 1.266 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/1.343, allocations: 16 kB / 1.266 GB, free: 7.246 MB / 0.9981 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.0002433/1.344, allocations: 196.6 kB / 1.266 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/1.344, allocations: 47.47 kB / 1.266 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/1.344, allocations: 48.62 kB / 1.267 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.344, allocations: 4 kB / 1.267 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.344, allocations: 4 kB / 1.267 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.344, allocations: 3.984 kB / 1.267 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/1.345, allocations: 0.9642 MB / 1.267 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/1.345, allocations: 0 / 1.267 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/1.346, allocations: 59.91 kB / 1.268 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002959/1.346, allocations: 84.78 kB / 1.268 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/1.346, allocations: 7.938 kB / 1.268 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/1.348, allocations: 1.656 MB / 1.269 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/1.348, allocations: 0 / 1.269 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/1.349, allocations: 0.5756 MB / 1.27 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/1.349, allocations: 140.7 kB / 1.27 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/1.349, allocations: 15.98 kB / 1.27 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/1.349, allocations: 15.84 kB / 1.27 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/1.349, allocations: 19.97 kB / 1.27 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/1.349, allocations: 11.98 kB / 1.27 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003641/1.35, allocations: 307.1 kB / 1.27 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.35, allocations: 4 kB / 1.27 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000508/1.35, allocations: 128 kB / 1.27 GB, free: 2.723 MB / 0.9981 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.001038/1.351, allocations: 437.3 kB / 1.271 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007488/1.352, allocations: 422.7 kB / 1.271 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.352, allocations: 4 kB / 1.271 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003705/1.352, allocations: 250.6 kB / 1.271 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/1.354, allocations: 239.2 kB / 1.272 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/1.355, allocations: 1.036 MB / 1.273 GB, free: 484 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/1.356, allocations: 0.8542 MB / 1.274 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/1.356, allocations: 35.44 kB / 1.274 GB, free: 15.55 MB / 1.014 GB Notification: Performance of SimCode: time 1.694e-06/1.356, allocations: 0 / 1.274 GB, free: 15.55 MB / 1.014 GB Notification: Performance of Templates: time 0.0129/1.369, allocations: 9.274 MB / 1.283 GB, free: 6.332 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches