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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 186.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.89 kB / 1.061 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8622/0.8642, allocations: 160.8 MB / 1.218 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2069/1.071, allocations: 163.6 MB / 1.378 GB, free: 3.059 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006007/1.077, allocations: 3.511 MB / 1.382 GB, free: 15.54 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005968/1.078, allocations: 23.81 kB / 1.382 GB, free: 15.51 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000904/1.079, allocations: 290.4 kB / 1.382 GB, free: 15.23 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002237/1.081, allocations: 0.9023 MB / 1.383 GB, free: 14.32 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/1.082, allocations: 0.5006 MB / 1.383 GB, free: 13.82 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001542/1.084, allocations: 1.134 MB / 1.384 GB, free: 12.69 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/1.084, allocations: 280.6 kB / 1.385 GB, free: 12.41 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006819/1.085, allocations: 430.4 kB / 1.385 GB, free: 11.98 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009897/1.086, allocations: 375.4 kB / 1.385 GB, free: 11.62 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 8.099e-05/1.086, allocations: 44 kB / 1.385 GB, free: 11.57 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/1.087, allocations: 0.7444 MB / 1.386 GB, free: 10.83 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002153/1.088, allocations: 175.4 kB / 1.386 GB, free: 10.66 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000299/1.088, allocations: 278.6 kB / 1.387 GB, free: 10.38 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/1.089, allocations: 0.934 MB / 1.388 GB, free: 9.449 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.659e-06/1.089, allocations: 4 kB / 1.388 GB, free: 9.445 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.443e-06/1.089, allocations: 0 / 1.388 GB, free: 9.445 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.288e-06/1.089, allocations: 0 / 1.388 GB, free: 9.445 MB / 1.092 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.001526/1.091, allocations: 0.8867 MB / 1.388 GB, free: 8.504 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.091, allocations: 12.03 kB / 1.388 GB, free: 8.492 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/1.092, allocations: 155.5 kB / 1.389 GB, free: 8.34 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/1.093, allocations: 0.5014 MB / 1.389 GB, free: 7.801 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/1.093, allocations: 28.58 kB / 1.389 GB, free: 7.773 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/1.093, allocations: 24 kB / 1.389 GB, free: 7.75 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005963/1.093, allocations: 325 kB / 1.389 GB, free: 7.426 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/1.094, allocations: 0 / 1.389 GB, free: 7.426 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/1.094, allocations: 12 kB / 1.389 GB, free: 7.414 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/1.094, allocations: 8.656 kB / 1.389 GB, free: 7.402 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/1.094, allocations: 226.5 kB / 1.39 GB, free: 7.184 MB / 1.092 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.002091/1.096, allocations: 1.415 MB / 1.391 GB, free: 5.633 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/1.097, allocations: 209 kB / 1.391 GB, free: 5.422 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/1.097, allocations: 102.8 kB / 1.391 GB, free: 5.32 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/1.097, allocations: 11.98 kB / 1.391 GB, free: 5.309 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/1.097, allocations: 175.5 kB / 1.392 GB, free: 5.125 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/1.097, allocations: 0 / 1.392 GB, free: 5.125 MB / 1.092 GB Notification: Performance of matching and sorting (n=29): time 0.002944/1.1, allocations: 1.083 MB / 1.393 GB, free: 3.984 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/1.1, allocations: 59.34 kB / 1.393 GB, free: 3.914 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005595/1.101, allocations: 461.9 kB / 1.393 GB, free: 3.453 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/1.101, allocations: 37.7 kB / 1.393 GB, free: 3.41 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/1.101, allocations: 236.5 kB / 1.393 GB, free: 3.176 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/1.101, allocations: 115 kB / 1.393 GB, free: 3.062 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/1.101, allocations: 74.02 kB / 1.394 GB, free: 2.984 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001741/1.101, allocations: 354.8 kB / 1.394 GB, free: 2.629 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/1.101, allocations: 124.7 kB / 1.394 GB, free: 2.508 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/1.102, allocations: 190.9 kB / 1.394 GB, free: 2.305 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/1.102, allocations: 303.9 kB / 1.394 GB, free: 1.992 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.102, allocations: 0 / 1.394 GB, free: 1.992 MB / 1.092 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001033/1.103, allocations: 490.3 kB / 1.395 GB, free: 1.504 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.103, allocations: 8.141 kB / 1.395 GB, free: 1.496 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.103, allocations: 8 kB / 1.395 GB, free: 1.488 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/1.104, allocations: 80.8 kB / 1.395 GB, free: 1.406 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/1.104, allocations: 59.92 kB / 1.395 GB, free: 1.348 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/1.106, allocations: 1.912 MB / 1.397 GB, free: 15.3 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/1.106, allocations: 20.08 kB / 1.397 GB, free: 15.28 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/1.106, allocations: 12 kB / 1.397 GB, free: 15.27 MB / 1.107 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.0002593/1.107, allocations: 196.6 kB / 1.397 GB, free: 15.07 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.943e-05/1.107, allocations: 51.66 kB / 1.397 GB, free: 15.02 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009303/1.108, allocations: 390.9 kB / 1.398 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.108, allocations: 4 kB / 1.398 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.108, allocations: 4.062 kB / 1.398 GB, free: 14.62 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.108, allocations: 3.984 kB / 1.398 GB, free: 14.61 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/1.109, allocations: 0.9803 MB / 1.399 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.109, allocations: 0 / 1.399 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/1.11, allocations: 67.89 kB / 1.399 GB, free: 13.5 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/1.11, allocations: 76.83 kB / 1.399 GB, free: 13.43 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/1.11, allocations: 11.98 kB / 1.399 GB, free: 13.41 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/1.112, allocations: 1.653 MB / 1.4 GB, free: 11.62 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.112, allocations: 0 / 1.4 GB, free: 11.62 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/1.113, allocations: 0.5671 MB / 1.401 GB, free: 11.03 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/1.113, allocations: 148.8 kB / 1.401 GB, free: 10.87 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/1.113, allocations: 20.05 kB / 1.401 GB, free: 10.85 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/1.114, allocations: 8 kB / 1.401 GB, free: 10.84 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/1.114, allocations: 19.95 kB / 1.401 GB, free: 10.82 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/1.114, allocations: 12 kB / 1.401 GB, free: 10.81 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003844/1.114, allocations: 311.1 kB / 1.401 GB, free: 10.51 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.114, allocations: 0 / 1.401 GB, free: 10.51 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005754/1.115, allocations: 124 kB / 1.401 GB, free: 10.39 MB / 1.107 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.001674/1.116, allocations: 438 kB / 1.402 GB, free: 10.11 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008036/1.117, allocations: 402.7 kB / 1.402 GB, free: 9.703 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.117, allocations: 0 / 1.402 GB, free: 9.703 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003443/1.117, allocations: 242.5 kB / 1.403 GB, free: 9.453 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/1.119, allocations: 252.2 kB / 1.403 GB, free: 9.219 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/1.12, allocations: 1.005 MB / 1.404 GB, free: 8.184 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/1.121, allocations: 0.8543 MB / 1.405 GB, free: 7.301 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003002/1.121, allocations: 80.34 kB / 1.405 GB, free: 7.223 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/1.121, allocations: 35.44 kB / 1.405 GB, free: 7.188 MB / 1.107 GB Notification: Performance of SimCode: time 5.31e-07/1.121, allocations: 0 / 1.405 GB, free: 7.188 MB / 1.107 GB Notification: Performance of Templates: time 0.01743/1.139, allocations: 9.13 MB / 1.414 GB, free: 14.18 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.067531092092395]