Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001437/0.001437, allocations: 113.9 kB / 18.94 MB, free: 2.785 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.001992/0.001992, allocations: 189.8 kB / 22.23 MB, free: 5.223 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.528/1.528, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.205/3.205, allocations: 495.7 MB / 0.7831 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 66.89 kB / 1.137 GB, free: 33.92 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.365, allocations: 173.6 MB / 1.307 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2132/0.5782, allocations: 163.6 MB / 1.467 GB, free: 13.63 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007036/0.5853, allocations: 3.51 MB / 1.47 GB, free: 10.11 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000992/0.5863, allocations: 27.75 kB / 1.47 GB, free: 10.09 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.5875, allocations: 290.5 kB / 1.47 GB, free: 9.801 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003/0.5905, allocations: 0.9062 MB / 1.471 GB, free: 8.891 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.5921, allocations: 497.8 kB / 1.472 GB, free: 8.406 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002131/0.5942, allocations: 1.134 MB / 1.473 GB, free: 7.27 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006749/0.5949, allocations: 280.6 kB / 1.473 GB, free: 6.988 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.5961, allocations: 458.3 kB / 1.474 GB, free: 6.539 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.5975, allocations: 376.1 kB / 1.474 GB, free: 6.172 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.5977, allocations: 40 kB / 1.474 GB, free: 6.133 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.5998, allocations: 0.7483 MB / 1.475 GB, free: 5.383 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003818/0.6002, allocations: 179.4 kB / 1.475 GB, free: 5.207 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006025/0.6008, allocations: 270.6 kB / 1.475 GB, free: 4.941 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.6031, allocations: 0.9381 MB / 1.476 GB, free: 4 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6031, allocations: 0 / 1.476 GB, free: 4 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6031, allocations: 0 / 1.476 GB, free: 4 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.6031, allocations: 0 / 1.476 GB, free: 4 MB / 1.17 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.002226/0.6053, allocations: 0.8115 MB / 1.477 GB, free: 3.156 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.6054, allocations: 8.031 kB / 1.477 GB, free: 3.148 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.6066, allocations: 159.5 kB / 1.477 GB, free: 2.992 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.6077, allocations: 446.2 kB / 1.477 GB, free: 2.531 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.6077, allocations: 24.66 kB / 1.477 GB, free: 2.508 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.6078, allocations: 31.98 kB / 1.478 GB, free: 2.477 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007006/0.6085, allocations: 325 kB / 1.478 GB, free: 2.145 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.6085, allocations: 3.953 kB / 1.478 GB, free: 2.141 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.6085, allocations: 15.94 kB / 1.478 GB, free: 2.125 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.6086, allocations: 12.66 kB / 1.478 GB, free: 2.113 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.609, allocations: 222.5 kB / 1.478 GB, free: 1.898 MB / 1.17 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.002543/0.6116, allocations: 1.484 MB / 1.48 GB, free: 268 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.6121, allocations: 214 kB / 1.48 GB, free: 48 kB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.6123, allocations: 100.9 kB / 1.48 GB, free: 15.94 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.6123, allocations: 3.984 kB / 1.48 GB, free: 15.94 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004089/0.6127, allocations: 163.3 kB / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of pre-optimization done (n=26): time 2.565e-06/0.6127, allocations: 0 / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of matching and sorting (n=29): time 0.003496/0.6162, allocations: 1.014 MB / 1.481 GB, free: 14.71 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.6163, allocations: 59.34 kB / 1.481 GB, free: 14.64 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007854/0.6171, allocations: 477.8 kB / 1.481 GB, free: 14.17 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.6172, allocations: 29.7 kB / 1.482 GB, free: 14.14 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.6174, allocations: 240.5 kB / 1.482 GB, free: 13.9 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.6175, allocations: 107.1 kB / 1.482 GB, free: 13.8 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.6177, allocations: 70.03 kB / 1.482 GB, free: 13.72 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.6179, allocations: 358.8 kB / 1.482 GB, free: 13.36 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.6182, allocations: 132.6 kB / 1.482 GB, free: 13.23 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.6185, allocations: 186.7 kB / 1.483 GB, free: 13.04 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/0.619, allocations: 299.9 kB / 1.483 GB, free: 12.73 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.619, allocations: 4 kB / 1.483 GB, free: 12.72 MB / 1.186 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00133/0.6204, allocations: 490.3 kB / 1.483 GB, free: 12.23 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.6204, allocations: 8 kB / 1.483 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6204, allocations: 0 / 1.483 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003964/0.6208, allocations: 84.95 kB / 1.483 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.6211, allocations: 67.91 kB / 1.483 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.6232, allocations: 1.806 MB / 1.485 GB, free: 10.15 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.6237, allocations: 8.094 kB / 1.485 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.6237, allocations: 20 kB / 1.485 GB, free: 10.12 MB / 1.186 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.0003434/0.6241, allocations: 193.7 kB / 1.485 GB, free: 9.926 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.6242, allocations: 51.59 kB / 1.485 GB, free: 9.875 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.6252, allocations: 402.9 kB / 1.486 GB, free: 9.473 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6252, allocations: 0 / 1.486 GB, free: 9.473 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6252, allocations: 7.938 kB / 1.486 GB, free: 9.465 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6252, allocations: 0 / 1.486 GB, free: 9.465 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.6271, allocations: 0.9403 MB / 1.487 GB, free: 8.473 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6271, allocations: 0 / 1.487 GB, free: 8.473 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/0.6275, allocations: 63.97 kB / 1.487 GB, free: 8.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003347/0.6279, allocations: 80.72 kB / 1.487 GB, free: 8.328 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.6279, allocations: 11.98 kB / 1.487 GB, free: 8.316 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.6295, allocations: 1.541 MB / 1.488 GB, free: 6.66 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.6295, allocations: 8.094 kB / 1.488 GB, free: 6.652 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.6307, allocations: 0.5637 MB / 1.489 GB, free: 6.07 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/0.6309, allocations: 75.73 kB / 1.489 GB, free: 5.996 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/0.631, allocations: 4 kB / 1.489 GB, free: 5.992 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.6314, allocations: 23.92 kB / 1.489 GB, free: 5.969 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.6314, allocations: 23.95 kB / 1.489 GB, free: 5.945 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.6315, allocations: 12 kB / 1.489 GB, free: 5.934 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004324/0.6319, allocations: 307.1 kB / 1.489 GB, free: 5.637 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6319, allocations: 0 / 1.489 GB, free: 5.637 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006339/0.6325, allocations: 120 kB / 1.49 GB, free: 5.52 MB / 1.186 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.001765/0.6343, allocations: 442.2 kB / 1.49 GB, free: 5.242 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009388/0.6352, allocations: 406.4 kB / 1.49 GB, free: 4.832 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6353, allocations: 4.312 kB / 1.49 GB, free: 4.828 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000391/0.6356, allocations: 242.5 kB / 1.491 GB, free: 4.578 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.6369, allocations: 249.4 kB / 1.491 GB, free: 4.348 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.639, allocations: 1.013 MB / 1.492 GB, free: 3.305 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.6396, allocations: 0.8426 MB / 1.493 GB, free: 2.438 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003668/0.64, allocations: 92.31 kB / 1.493 GB, free: 2.348 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.6401, allocations: 35.44 kB / 1.493 GB, free: 2.312 MB / 1.186 GB Notification: Performance of SimCode: time 7.61e-07/0.6401, allocations: 0 / 1.493 GB, free: 2.312 MB / 1.186 GB Notification: Performance of Templates: time 0.01964/0.6597, allocations: 9.124 MB / 1.502 GB, free: 9.289 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.740424352698028]