Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001559/0.001559, allocations: 107.1 kB / 15.99 MB, free: 6.355 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.001485/0.001486, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.475/1.475, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.725/2.725, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.0019, allocations: 63.84 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3019, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6943/0.9962, allocations: 160.7 MB / 1.221 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006171/1.002, allocations: 3.446 MB / 1.224 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007714/1.003, allocations: 15.62 kB / 1.224 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009141/1.004, allocations: 249.2 kB / 1.225 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002446/1.007, allocations: 0.8042 MB / 1.225 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/1.008, allocations: 430.4 kB / 1.226 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001701/1.01, allocations: 1.089 MB / 1.227 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005579/1.01, allocations: 323.4 kB / 1.227 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000802/1.011, allocations: 412.7 kB / 1.228 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/1.012, allocations: 364.4 kB / 1.228 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.813e-05/1.012, allocations: 39.56 kB / 1.228 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/1.014, allocations: 0.7353 MB / 1.229 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/1.014, allocations: 169.4 kB / 1.229 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003318/1.014, allocations: 269.8 kB / 1.229 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/1.016, allocations: 0.7146 MB / 1.23 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.016, allocations: 0 / 1.23 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.804e-06/1.016, allocations: 0 / 1.23 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.377e-06/1.016, allocations: 0 / 1.23 GB, free: 15.22 MB / 0.9512 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.00169/1.017, allocations: 0.8666 MB / 1.231 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.017, allocations: 10.5 kB / 1.231 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.018, allocations: 149.5 kB / 1.231 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/1.019, allocations: 0.4895 MB / 1.231 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/1.019, allocations: 20.56 kB / 1.231 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/1.019, allocations: 32 kB / 1.231 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/1.02, allocations: 319.7 kB / 1.232 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.02, allocations: 0 / 1.232 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/1.02, allocations: 16 kB / 1.232 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/1.02, allocations: 8.562 kB / 1.232 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/1.021, allocations: 230 kB / 1.232 GB, free: 13.29 MB / 0.9512 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.002255/1.023, allocations: 1.415 MB / 1.233 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/1.023, allocations: 222 kB / 1.234 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/1.024, allocations: 108.8 kB / 1.234 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/1.024, allocations: 4 kB / 1.234 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003592/1.024, allocations: 165.9 kB / 1.234 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=26): time 2.365e-06/1.024, allocations: 0 / 1.234 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29): time 0.003193/1.027, allocations: 1.082 MB / 1.235 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/1.027, allocations: 59.39 kB / 1.235 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/1.028, allocations: 461.9 kB / 1.235 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/1.028, allocations: 29.7 kB / 1.235 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/1.028, allocations: 240.2 kB / 1.236 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.028, allocations: 98.64 kB / 1.236 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/1.028, allocations: 77.97 kB / 1.236 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.029, allocations: 354.8 kB / 1.236 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/1.029, allocations: 128.7 kB / 1.236 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/1.029, allocations: 191.5 kB / 1.236 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/1.03, allocations: 307.9 kB / 1.237 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.03, allocations: 0 / 1.237 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001119/1.031, allocations: 497.8 kB / 1.237 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.031, allocations: 7.938 kB / 1.237 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.031, allocations: 0 / 1.237 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004045/1.031, allocations: 88.67 kB / 1.237 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/1.032, allocations: 59.91 kB / 1.237 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/1.034, allocations: 1.912 MB / 1.239 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/1.034, allocations: 27.83 kB / 1.239 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/1.034, allocations: 12 kB / 1.239 GB, free: 5.363 MB / 0.9512 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.0003058/1.035, allocations: 193.8 kB / 1.239 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.779e-05/1.035, allocations: 51.38 kB / 1.239 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/1.035, allocations: 52.61 kB / 1.24 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.035, allocations: 4 kB / 1.24 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.035, allocations: 4 kB / 1.24 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.035, allocations: 0 / 1.24 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/1.037, allocations: 0.9694 MB / 1.24 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.037, allocations: 0 / 1.24 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/1.037, allocations: 63.58 kB / 1.241 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000328/1.037, allocations: 80.8 kB / 1.241 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/1.037, allocations: 7.984 kB / 1.241 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/1.039, allocations: 1.657 MB / 1.242 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.039, allocations: 0 / 1.242 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/1.04, allocations: 0.5704 MB / 1.243 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/1.04, allocations: 148.5 kB / 1.243 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.817e-05/1.041, allocations: 15.94 kB / 1.243 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/1.041, allocations: 15.98 kB / 1.243 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/1.041, allocations: 23.91 kB / 1.243 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/1.041, allocations: 12 kB / 1.243 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000425/1.041, allocations: 311.1 kB / 1.243 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.074e-06/1.041, allocations: 0 / 1.243 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005843/1.042, allocations: 127.9 kB / 1.243 GB, free: 0.8359 MB / 0.9512 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.001625/1.044, allocations: 444.9 kB / 1.244 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009072/1.045, allocations: 442.3 kB / 1.244 GB, free: 120 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.045, allocations: 4 kB / 1.244 GB, free: 116 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/1.045, allocations: 242.9 kB / 1.244 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/1.046, allocations: 242.3 kB / 1.245 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/1.048, allocations: 1.201 MB / 1.246 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/1.049, allocations: 0.8465 MB / 1.247 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/1.049, allocations: 43.44 kB / 1.247 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/1.049, allocations: 0 / 1.247 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of Templates: time 0.0153/1.064, allocations: 9.222 MB / 1.256 GB, free: 4.316 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_11_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches