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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001084/0.001084, allocations: 107.2 kB / 16.37 MB, free: 6.457 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.001031/0.001031, allocations: 191.8 kB / 17.31 MB, free: 5.812 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 437.1 MB / 0.7112 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.27 kB / 0.8707 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2838, allocations: 151.6 MB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.675/0.9588, allocations: 162.9 MB / 1.178 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00601/0.9649, allocations: 3.474 MB / 1.181 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008447/0.9658, allocations: 19.56 kB / 1.181 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009379/0.9667, allocations: 282.1 kB / 1.182 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.9692, allocations: 0.8578 MB / 1.182 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.9705, allocations: 479.6 kB / 1.183 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.972, allocations: 1.095 MB / 1.184 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004341/0.9724, allocations: 329.3 kB / 1.184 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006311/0.9731, allocations: 405.4 kB / 1.185 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008594/0.9739, allocations: 344.4 kB / 1.185 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.527e-05/0.974, allocations: 39.22 kB / 1.185 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.9756, allocations: 0.695 MB / 1.186 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.9758, allocations: 166.8 kB / 1.186 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.9762, allocations: 271.5 kB / 1.186 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.9777, allocations: 0.9389 MB / 1.187 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9777, allocations: 0 / 1.187 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9777, allocations: 5.406 kB / 1.187 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.9777, allocations: 0 / 1.187 GB, free: 4.82 MB / 0.8887 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.001544/0.9792, allocations: 0.8581 MB / 1.188 GB, free: 4.094 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.9793, allocations: 13.34 kB / 1.188 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.9804, allocations: 149.6 kB / 1.188 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.9811, allocations: 0.508 MB / 1.189 GB, free: 3.59 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.9812, allocations: 18.84 kB / 1.189 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.9812, allocations: 35.78 kB / 1.189 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.9818, allocations: 318 kB / 1.189 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.9818, allocations: 4 kB / 1.189 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.9819, allocations: 12.5 kB / 1.189 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.9819, allocations: 9.938 kB / 1.189 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.9823, allocations: 225.4 kB / 1.189 GB, free: 3.25 MB / 0.8887 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.001994/0.9843, allocations: 1.413 MB / 1.19 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.9847, allocations: 223.1 kB / 1.191 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.9849, allocations: 113.3 kB / 1.191 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.9849, allocations: 6.422 kB / 1.191 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.9852, allocations: 159 kB / 1.191 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.9852, allocations: 0 / 1.191 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of matching and sorting (n=29): time 0.002793/0.988, allocations: 1.093 MB / 1.192 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.9881, allocations: 62.42 kB / 1.192 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/0.9887, allocations: 462.1 kB / 1.193 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.9887, allocations: 31.02 kB / 1.193 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.9889, allocations: 234.6 kB / 1.193 GB, free: 372 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.589e-05/0.989, allocations: 103.5 kB / 1.193 GB, free: 280 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.9891, allocations: 80.48 kB / 1.193 GB, free: 224 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.9893, allocations: 357.7 kB / 1.193 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.9895, allocations: 130.8 kB / 1.193 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.9898, allocations: 183.2 kB / 1.194 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.9903, allocations: 304.2 kB / 1.194 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9903, allocations: 0 / 1.194 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001053/0.9914, allocations: 497.1 kB / 1.194 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.9914, allocations: 4.812 kB / 1.194 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.9914, allocations: 2.219 kB / 1.194 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003742/0.9918, allocations: 85.67 kB / 1.194 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.9921, allocations: 62.16 kB / 1.195 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.9938, allocations: 1.907 MB / 1.196 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.9942, allocations: 13.88 kB / 1.196 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.9943, allocations: 17.58 kB / 1.196 GB, free: 13.34 MB / 0.9044 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.0002588/0.9946, allocations: 185 kB / 1.197 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.9946, allocations: 54.38 kB / 1.197 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.9948, allocations: 56.95 kB / 1.197 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.9948, allocations: 5.25 kB / 1.197 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.9948, allocations: 0 / 1.197 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.9948, allocations: 0 / 1.197 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.9963, allocations: 0.9604 MB / 1.198 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.9964, allocations: 4 kB / 1.198 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.9967, allocations: 70.88 kB / 1.198 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003009/0.997, allocations: 81.06 kB / 1.198 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.9971, allocations: 6.906 kB / 1.198 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.9984, allocations: 1.657 MB / 1.199 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.9984, allocations: 0 / 1.199 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009872/0.9994, allocations: 0.5637 MB / 1.2 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.9997, allocations: 149.3 kB / 1.2 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.9997, allocations: 10.34 kB / 1.2 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/1, allocations: 16.52 kB / 1.2 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/1, allocations: 29.91 kB / 1.2 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/1, allocations: 11.84 kB / 1.2 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003281/1.001, allocations: 309.9 kB / 1.2 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.001, allocations: 0 / 1.2 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005332/1.001, allocations: 123.3 kB / 1.201 GB, free: 9.922 MB / 0.9044 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.001012/1.002, allocations: 432.2 kB / 1.201 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007135/1.003, allocations: 429.3 kB / 1.201 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.003, allocations: 2.656 kB / 1.201 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003119/1.003, allocations: 240.1 kB / 1.202 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/1.004, allocations: 245.2 kB / 1.202 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/1.006, allocations: 0.999 MB / 1.203 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/1.006, allocations: 0.8516 MB / 1.204 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003008/1.007, allocations: 83.22 kB / 1.204 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.567e-05/1.007, allocations: 34.75 kB / 1.204 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of SimCode: time 1.463e-06/1.007, allocations: 0 / 1.204 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.0145/1.021, allocations: 8.826 MB / 1.212 GB, free: 2.391 MB / 0.9044 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 gbode -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