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.001247/0.001247, allocations: 106.6 kB / 16.27 MB, free: 6.406 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.001291/0.001291, allocations: 190.8 kB / 17.2 MB, free: 5.973 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.464/1.464, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.604/2.604, allocations: 437.1 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 65.05 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3219, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7281/1.05, allocations: 162.9 MB / 1.177 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006938/1.057, allocations: 3.478 MB / 1.18 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009445/1.058, allocations: 20.28 kB / 1.18 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/1.059, allocations: 270.9 kB / 1.181 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00282/1.062, allocations: 0.857 MB / 1.182 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001511/1.063, allocations: 477.5 kB / 1.182 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00194/1.065, allocations: 1.086 MB / 1.183 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000554/1.066, allocations: 340.7 kB / 1.183 GB, free: 6.637 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008576/1.067, allocations: 397.8 kB / 1.184 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/1.068, allocations: 344.7 kB / 1.184 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.692e-05/1.068, allocations: 44.31 kB / 1.184 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/1.07, allocations: 0.6909 MB / 1.185 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002513/1.07, allocations: 172.9 kB / 1.185 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003902/1.07, allocations: 272.6 kB / 1.185 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/1.072, allocations: 0.9217 MB / 1.186 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.072, allocations: 0 / 1.186 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.724e-06/1.072, allocations: 1.312 kB / 1.186 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.231e-05/1.072, allocations: 0 / 1.186 GB, free: 4.93 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.001855/1.074, allocations: 0.865 MB / 1.187 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/1.074, allocations: 12.98 kB / 1.187 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/1.076, allocations: 161.6 kB / 1.187 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008716/1.076, allocations: 490.8 kB / 1.188 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/1.076, allocations: 20.81 kB / 1.188 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/1.077, allocations: 34.16 kB / 1.188 GB, free: 3.68 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006519/1.077, allocations: 318.2 kB / 1.188 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/1.077, allocations: 1.375 kB / 1.188 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/1.077, allocations: 14.62 kB / 1.188 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/1.077, allocations: 10.75 kB / 1.188 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/1.078, allocations: 223.1 kB / 1.188 GB, free: 3.363 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.002337/1.08, allocations: 1.425 MB / 1.19 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/1.081, allocations: 216.8 kB / 1.19 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/1.081, allocations: 116.7 kB / 1.19 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/1.081, allocations: 4.969 kB / 1.19 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003231/1.081, allocations: 156.2 kB / 1.19 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 3.016e-06/1.081, allocations: 0 / 1.19 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of matching and sorting (n=29): time 0.003098/1.084, allocations: 1.097 MB / 1.191 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/1.084, allocations: 58.28 kB / 1.191 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/1.085, allocations: 464.1 kB / 1.192 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/1.085, allocations: 32.14 kB / 1.192 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/1.085, allocations: 238 kB / 1.192 GB, free: 476 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/1.085, allocations: 100.5 kB / 1.192 GB, free: 388 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/1.085, allocations: 79.31 kB / 1.192 GB, free: 332 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000211/1.086, allocations: 353.9 kB / 1.192 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/1.086, allocations: 129.2 kB / 1.193 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/1.086, allocations: 187.1 kB / 1.193 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/1.087, allocations: 306.9 kB / 1.193 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.087, allocations: 0 / 1.193 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001072/1.088, allocations: 489.4 kB / 1.194 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.088, allocations: 5.219 kB / 1.194 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.088, allocations: 1.688 kB / 1.194 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/1.088, allocations: 85.98 kB / 1.194 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/1.089, allocations: 62.53 kB / 1.194 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/1.091, allocations: 1.913 MB / 1.196 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/1.091, allocations: 21.11 kB / 1.196 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/1.091, allocations: 9.5 kB / 1.196 GB, free: 13.45 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.0003063/1.091, allocations: 192.3 kB / 1.196 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/1.092, allocations: 57.95 kB / 1.196 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/1.092, allocations: 53.34 kB / 1.196 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/1.092, allocations: 2.906 kB / 1.196 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.092, allocations: 2.781 kB / 1.196 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.092, allocations: 0 / 1.196 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/1.093, allocations: 0.9694 MB / 1.197 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.093, allocations: 0 / 1.197 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/1.094, allocations: 59.69 kB / 1.197 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/1.094, allocations: 83.84 kB / 1.197 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/1.094, allocations: 6.5 kB / 1.197 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/1.096, allocations: 1.66 MB / 1.199 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.096, allocations: 0 / 1.199 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/1.097, allocations: 0.5781 MB / 1.199 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/1.097, allocations: 144.6 kB / 1.199 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/1.097, allocations: 10.78 kB / 1.199 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/1.098, allocations: 12.45 kB / 1.199 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/1.098, allocations: 22.56 kB / 1.199 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/1.098, allocations: 11.59 kB / 1.199 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003866/1.098, allocations: 309.1 kB / 1.2 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.098, allocations: 0 / 1.2 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005588/1.099, allocations: 128.3 kB / 1.2 GB, free: 10.04 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.001622/1.1, allocations: 430.2 kB / 1.2 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009014/1.101, allocations: 444.7 kB / 1.201 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.101, allocations: 0 / 1.201 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003453/1.101, allocations: 254.7 kB / 1.201 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/1.103, allocations: 235.6 kB / 1.201 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/1.105, allocations: 1.052 MB / 1.202 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/1.105, allocations: 0.852 MB / 1.203 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/1.105, allocations: 39.06 kB / 1.203 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of SimCode: time 5.71e-07/1.105, allocations: 0 / 1.203 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.01478/1.12, allocations: 9.226 MB / 1.212 GB, free: 2.309 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