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.001927/0.001927, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001949/0.001949, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.55/1.55, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.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.698/2.698, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.89 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7739/0.7752, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.18/0.9552, allocations: 160.7 MB / 1.173 GB, free: 1.512 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0058/0.9611, allocations: 3.515 MB / 1.177 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006447/0.9617, allocations: 19.88 kB / 1.177 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009928/0.9628, allocations: 239 kB / 1.177 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00244/0.9653, allocations: 0.8014 MB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.9666, allocations: 430.9 kB / 1.178 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001887/0.9685, allocations: 1.364 MB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000574/0.9691, allocations: 288 kB / 1.18 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009333/0.97, allocations: 346.4 kB / 1.18 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.9714, allocations: 357.9 kB / 1.181 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.9716, allocations: 20 kB / 1.181 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/0.9733, allocations: 0.791 MB / 1.181 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.9736, allocations: 155.5 kB / 1.182 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.9741, allocations: 254.6 kB / 1.182 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.9759, allocations: 0.9503 MB / 1.183 GB, free: 8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.9759, allocations: 3.984 kB / 1.183 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9759, allocations: 3.938 kB / 1.183 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.579e-05/0.976, allocations: 0 / 1.183 GB, free: 7.992 MB / 0.9356 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.002023/0.978, allocations: 0.8602 MB / 1.184 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.9781, allocations: 12.03 kB / 1.184 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.9794, allocations: 147.2 kB / 1.184 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009081/0.9803, allocations: 496.9 kB / 1.184 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.9804, allocations: 20.56 kB / 1.184 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.9804, allocations: 31.91 kB / 1.184 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.9811, allocations: 319.6 kB / 1.185 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.9811, allocations: 0 / 1.185 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.9811, allocations: 12 kB / 1.185 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.9812, allocations: 12.56 kB / 1.185 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.9816, allocations: 222.1 kB / 1.185 GB, free: 5.785 MB / 0.9356 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.00221/0.9839, allocations: 1.418 MB / 1.186 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.9843, allocations: 234.2 kB / 1.186 GB, free: 3.996 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.9845, allocations: 108.8 kB / 1.187 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.9845, allocations: 4 kB / 1.187 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.9849, allocations: 172.7 kB / 1.187 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.803e-06/0.9849, allocations: 0 / 1.187 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.003147/0.988, allocations: 1.088 MB / 1.188 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.9881, allocations: 59.34 kB / 1.188 GB, free: 2.488 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000603/0.9887, allocations: 461.9 kB / 1.188 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.9887, allocations: 29.7 kB / 1.188 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.989, allocations: 248.2 kB / 1.189 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.9891, allocations: 90.66 kB / 1.189 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.9892, allocations: 81.97 kB / 1.189 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.9894, allocations: 354.8 kB / 1.189 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.9897, allocations: 124.7 kB / 1.189 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.9899, allocations: 186.6 kB / 1.189 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.9904, allocations: 307.8 kB / 1.19 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9904, allocations: 0 / 1.19 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001011/0.9915, allocations: 497.8 kB / 1.19 GB, free: 80 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.9915, allocations: 4 kB / 1.19 GB, free: 76 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.9915, allocations: 4 kB / 1.19 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.9919, allocations: 85 kB / 1.19 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.9922, allocations: 59.86 kB / 1.19 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.994, allocations: 1.737 MB / 1.192 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.9944, allocations: 27.86 kB / 1.192 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.9944, allocations: 16.06 kB / 1.192 GB, free: 14.02 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.0003057/0.9948, allocations: 191.6 kB / 1.192 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.9949, allocations: 43.53 kB / 1.192 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.995, allocations: 60.55 kB / 1.192 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.995, allocations: 4 kB / 1.192 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.995, allocations: 0 / 1.192 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.995, allocations: 0 / 1.192 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.9969, allocations: 0.9763 MB / 1.193 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.997, allocations: 3.938 kB / 1.193 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/0.9973, allocations: 63.97 kB / 1.193 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003563/0.9977, allocations: 76.8 kB / 1.193 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.9978, allocations: 11.98 kB / 1.193 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.9996, allocations: 1.538 MB / 1.195 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9996, allocations: 0 / 1.195 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/1.001, allocations: 0.5787 MB / 1.195 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/1.001, allocations: 152.5 kB / 1.196 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.72e-05/1.001, allocations: 8 kB / 1.196 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/1.002, allocations: 15.98 kB / 1.196 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/1.002, allocations: 19.97 kB / 1.196 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/1.002, allocations: 15.98 kB / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004927/1.002, allocations: 311.1 kB / 1.196 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.002, allocations: 0 / 1.196 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007722/1.003, allocations: 120 kB / 1.196 GB, free: 9.605 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.001366/1.004, allocations: 437.8 kB / 1.196 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009389/1.005, allocations: 414.4 kB / 1.197 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.005, allocations: 4 kB / 1.197 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003895/1.006, allocations: 254.5 kB / 1.197 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/1.007, allocations: 231.7 kB / 1.197 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/1.009, allocations: 1.147 MB / 1.198 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/1.01, allocations: 0.8506 MB / 1.199 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004566/1.01, allocations: 84.33 kB / 1.199 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/1.011, allocations: 39.44 kB / 1.199 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/1.011, allocations: 0 / 1.199 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of Templates: time 0.01643/1.027, allocations: 8.456 MB / 1.208 GB, free: 13.91 MB / 0.9669 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches