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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 78.33 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 156.5 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.607/2.607, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.89 kB / 0.9515 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.8101, allocations: 169.9 MB / 1.117 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1876/0.9977, allocations: 143.6 MB / 1.258 GB, free: 12.54 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005743/1.003, allocations: 3.339 MB / 1.261 GB, free: 9.188 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004226/1.004, allocations: 23.81 kB / 1.261 GB, free: 9.164 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008474/1.005, allocations: 270.5 kB / 1.261 GB, free: 8.898 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002294/1.007, allocations: 0.9217 MB / 1.262 GB, free: 7.973 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/1.008, allocations: 454.8 kB / 1.263 GB, free: 7.527 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001446/1.01, allocations: 1.142 MB / 1.264 GB, free: 6.383 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/1.01, allocations: 277 kB / 1.264 GB, free: 6.105 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006451/1.011, allocations: 430.3 kB / 1.264 GB, free: 5.684 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009787/1.012, allocations: 356.8 kB / 1.265 GB, free: 5.336 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 7.771e-05/1.012, allocations: 40 kB / 1.265 GB, free: 5.297 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/1.013, allocations: 0.5766 MB / 1.265 GB, free: 4.719 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/1.013, allocations: 179.4 kB / 1.265 GB, free: 4.543 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002743/1.013, allocations: 218.9 kB / 1.266 GB, free: 4.328 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/1.014, allocations: 0.9301 MB / 1.267 GB, free: 3.398 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.014, allocations: 4 kB / 1.267 GB, free: 3.395 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.283e-06/1.014, allocations: 0 / 1.267 GB, free: 3.395 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.014, allocations: 0 / 1.267 GB, free: 3.395 MB / 1.107 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.001469/1.016, allocations: 0.823 MB / 1.267 GB, free: 2.535 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/1.016, allocations: 12.03 kB / 1.267 GB, free: 2.523 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/1.017, allocations: 155.5 kB / 1.268 GB, free: 2.371 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008083/1.018, allocations: 458.1 kB / 1.268 GB, free: 1.902 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/1.018, allocations: 24.64 kB / 1.268 GB, free: 1.875 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/1.018, allocations: 32 kB / 1.268 GB, free: 1.844 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/1.019, allocations: 423.9 kB / 1.268 GB, free: 1.395 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/1.019, allocations: 4 kB / 1.268 GB, free: 1.391 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/1.019, allocations: 12 kB / 1.268 GB, free: 1.379 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/1.019, allocations: 20.59 kB / 1.268 GB, free: 1.359 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/1.019, allocations: 222.4 kB / 1.269 GB, free: 1.141 MB / 1.107 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.001789/1.021, allocations: 0.9061 MB / 1.27 GB, free: 204 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/1.021, allocations: 210 kB / 1.27 GB, free: 15.98 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/1.021, allocations: 104.8 kB / 1.27 GB, free: 15.88 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/1.021, allocations: 0 / 1.27 GB, free: 15.88 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003572/1.022, allocations: 262.1 kB / 1.27 GB, free: 15.59 MB / 1.123 GB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/1.022, allocations: 0 / 1.27 GB, free: 15.59 MB / 1.123 GB Notification: Performance of matching and sorting (n=29): time 0.002879/1.025, allocations: 1.04 MB / 1.271 GB, free: 14.51 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/1.025, allocations: 59.39 kB / 1.271 GB, free: 14.44 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/1.025, allocations: 469.8 kB / 1.272 GB, free: 13.97 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/1.025, allocations: 33.7 kB / 1.272 GB, free: 13.93 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/1.026, allocations: 244.5 kB / 1.272 GB, free: 13.69 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/1.026, allocations: 107 kB / 1.272 GB, free: 13.59 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/1.026, allocations: 78.02 kB / 1.272 GB, free: 13.51 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001867/1.026, allocations: 350.8 kB / 1.272 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/1.026, allocations: 128.7 kB / 1.272 GB, free: 13.03 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/1.027, allocations: 194.6 kB / 1.273 GB, free: 12.82 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/1.027, allocations: 315.4 kB / 1.273 GB, free: 12.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.027, allocations: 4 kB / 1.273 GB, free: 12.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001031/1.028, allocations: 494.4 kB / 1.273 GB, free: 12 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.028, allocations: 4 kB / 1.273 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/1.028, allocations: 0 / 1.273 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003534/1.028, allocations: 84.8 kB / 1.274 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/1.029, allocations: 64.03 kB / 1.274 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/1.031, allocations: 1.774 MB / 1.275 GB, free: 9.977 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/1.031, allocations: 8 kB / 1.275 GB, free: 9.969 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/1.031, allocations: 15.98 kB / 1.275 GB, free: 9.953 MB / 1.123 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.0002298/1.031, allocations: 189 kB / 1.276 GB, free: 9.762 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.745e-05/1.031, allocations: 55.72 kB / 1.276 GB, free: 9.707 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009506/1.032, allocations: 406.9 kB / 1.276 GB, free: 9.301 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.032, allocations: 4 kB / 1.276 GB, free: 9.297 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/1.032, allocations: 0 / 1.276 GB, free: 9.297 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.032, allocations: 3.984 kB / 1.276 GB, free: 9.293 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/1.034, allocations: 0.8467 MB / 1.277 GB, free: 8.406 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.034, allocations: 7.938 kB / 1.277 GB, free: 8.398 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/1.034, allocations: 63.97 kB / 1.277 GB, free: 8.336 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003069/1.035, allocations: 80.72 kB / 1.277 GB, free: 8.254 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/1.035, allocations: 12 kB / 1.277 GB, free: 8.242 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/1.036, allocations: 1.515 MB / 1.278 GB, free: 6.621 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.036, allocations: 0 / 1.278 GB, free: 6.621 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/1.037, allocations: 0.5958 MB / 1.279 GB, free: 6 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/1.037, allocations: 75.66 kB / 1.279 GB, free: 5.926 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/1.038, allocations: 15.94 kB / 1.279 GB, free: 5.91 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/1.038, allocations: 11.98 kB / 1.279 GB, free: 5.898 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/1.038, allocations: 19.95 kB / 1.279 GB, free: 5.879 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/1.038, allocations: 12 kB / 1.279 GB, free: 5.867 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003682/1.038, allocations: 307.1 kB / 1.279 GB, free: 5.57 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.038, allocations: 0 / 1.279 GB, free: 5.57 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005265/1.039, allocations: 124 kB / 1.28 GB, free: 5.449 MB / 1.123 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 (27): * Single equations (assignments): 24 * 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.001721/1.041, allocations: 472.8 kB / 1.28 GB, free: 5.172 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0007768/1.041, allocations: 418.4 kB / 1.28 GB, free: 4.75 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.041, allocations: 0 / 1.28 GB, free: 4.75 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003486/1.042, allocations: 242.5 kB / 1.281 GB, free: 4.5 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/1.043, allocations: 242.1 kB / 1.281 GB, free: 4.273 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/1.045, allocations: 1.008 MB / 1.282 GB, free: 3.234 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/1.045, allocations: 255.8 kB / 1.282 GB, free: 2.961 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002712/1.045, allocations: 84.33 kB / 1.282 GB, free: 2.879 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/1.045, allocations: 44.48 kB / 1.282 GB, free: 2.836 MB / 1.123 GB Notification: Performance of SimCode: time 3.8e-07/1.045, allocations: 0 / 1.282 GB, free: 2.836 MB / 1.123 GB Notification: Performance of Templates: time 0.01711/1.062, allocations: 9.404 MB / 1.291 GB, free: 9.656 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (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 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.669281700043939]