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.001542/0.001542, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001518/0.001518, allocations: 191.2 kB / 16.91 MB, free: 6.188 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.492/1.492, allocations: 222.9 MB / 240.6 MB, free: 15.4 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.648/2.648, allocations: 437.1 MB / 0.7107 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.92 kB / 0.8694 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2933, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6998/0.9932, allocations: 160.7 MB / 1.174 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005851/0.9991, allocations: 3.448 MB / 1.178 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009904/1, allocations: 14.25 kB / 1.178 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/1.001, allocations: 243.7 kB / 1.178 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002396/1.004, allocations: 0.809 MB / 1.179 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/1.005, allocations: 431.6 kB / 1.179 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001772/1.007, allocations: 1.092 MB / 1.18 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005369/1.007, allocations: 321.1 kB / 1.181 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008516/1.008, allocations: 410.2 kB / 1.181 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/1.009, allocations: 362.8 kB / 1.181 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.439e-05/1.009, allocations: 39.88 kB / 1.181 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/1.011, allocations: 0.7388 MB / 1.182 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/1.011, allocations: 167 kB / 1.182 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003279/1.012, allocations: 272.3 kB / 1.183 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/1.013, allocations: 0.712 MB / 1.183 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/1.013, allocations: 3.984 kB / 1.183 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.814e-06/1.013, allocations: 0 / 1.183 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.678e-06/1.013, allocations: 0 / 1.183 GB, free: 7.473 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.001622/1.014, allocations: 0.8637 MB / 1.184 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.014, allocations: 9.422 kB / 1.184 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/1.016, allocations: 158 kB / 1.184 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008676/1.016, allocations: 490.1 kB / 1.185 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/1.016, allocations: 24.47 kB / 1.185 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/1.017, allocations: 30.75 kB / 1.185 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/1.017, allocations: 322.8 kB / 1.185 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/1.017, allocations: 0 / 1.185 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/1.017, allocations: 11.75 kB / 1.185 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/1.017, allocations: 13.72 kB / 1.185 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/1.018, allocations: 224.1 kB / 1.185 GB, free: 5.91 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.002216/1.02, allocations: 1.417 MB / 1.187 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/1.02, allocations: 223.2 kB / 1.187 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/1.021, allocations: 108.6 kB / 1.187 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/1.021, allocations: 2.531 kB / 1.187 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003281/1.021, allocations: 168.9 kB / 1.187 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 2.555e-06/1.021, allocations: 0 / 1.187 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of matching and sorting (n=29): time 0.00299/1.024, allocations: 1.093 MB / 1.188 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.024, allocations: 53.31 kB / 1.188 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/1.025, allocations: 472.9 kB / 1.189 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/1.025, allocations: 31.33 kB / 1.189 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/1.025, allocations: 233.7 kB / 1.189 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/1.025, allocations: 99.98 kB / 1.189 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/1.025, allocations: 76 kB / 1.189 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.025, allocations: 358.7 kB / 1.189 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/1.026, allocations: 128.6 kB / 1.19 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/1.026, allocations: 188.8 kB / 1.19 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/1.026, allocations: 304.6 kB / 1.19 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.026, allocations: 4.875 kB / 1.19 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009926/1.027, allocations: 483.5 kB / 1.191 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.027, allocations: 6.062 kB / 1.191 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.027, allocations: 5.594 kB / 1.191 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/1.028, allocations: 84.64 kB / 1.191 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/1.028, allocations: 70.47 kB / 1.191 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/1.03, allocations: 1.91 MB / 1.193 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/1.031, allocations: 26.25 kB / 1.193 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/1.031, allocations: 14.09 kB / 1.193 GB, free: 15.98 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.0003048/1.031, allocations: 191.9 kB / 1.193 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/1.031, allocations: 49.47 kB / 1.193 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/1.031, allocations: 54.5 kB / 1.193 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.031, allocations: 2.156 kB / 1.193 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/1.031, allocations: 1.125 kB / 1.193 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.031, allocations: 9.016 kB / 1.193 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/1.033, allocations: 0.9632 MB / 1.194 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.033, allocations: 3.312 kB / 1.194 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/1.033, allocations: 60.06 kB / 1.194 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003143/1.034, allocations: 80.06 kB / 1.194 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/1.034, allocations: 10.78 kB / 1.194 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/1.035, allocations: 1.653 MB / 1.196 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.035, allocations: 0 / 1.196 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/1.036, allocations: 0.5813 MB / 1.196 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/1.037, allocations: 151.5 kB / 1.196 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.809e-05/1.037, allocations: 10.77 kB / 1.196 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/1.037, allocations: 14.03 kB / 1.196 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/1.037, allocations: 26.28 kB / 1.196 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/1.037, allocations: 11.36 kB / 1.196 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004006/1.038, allocations: 313 kB / 1.197 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/1.038, allocations: 0 / 1.197 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000568/1.038, allocations: 124.5 kB / 1.197 GB, free: 12.57 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.001641/1.04, allocations: 445.5 kB / 1.197 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008508/1.041, allocations: 433.9 kB / 1.198 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.041, allocations: 0 / 1.198 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/1.041, allocations: 249.7 kB / 1.198 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/1.042, allocations: 240.2 kB / 1.198 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/1.044, allocations: 1.192 MB / 1.199 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/1.045, allocations: 0.851 MB / 1.2 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/1.045, allocations: 41.2 kB / 1.2 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/1.045, allocations: 0 / 1.2 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of Templates: time 0.01375/1.059, allocations: 9.229 MB / 1.209 GB, free: 5.121 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=400 -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