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.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.001869/0.001869, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002404/0.002404, allocations: 211.9 kB / 22.24 MB, free: 5.258 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.353/3.353, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002/0.002, allocations: 68.47 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.385, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2079/0.5928, allocations: 143.6 MB / 1.504 GB, free: 13.43 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006245/0.5991, allocations: 3.329 MB / 1.507 GB, free: 10.1 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.5995, allocations: 23.81 kB / 1.507 GB, free: 10.08 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009034/0.6004, allocations: 262.5 kB / 1.508 GB, free: 9.82 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.6026, allocations: 0.9373 MB / 1.509 GB, free: 8.879 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.6037, allocations: 453.7 kB / 1.509 GB, free: 8.438 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.6053, allocations: 1.134 MB / 1.51 GB, free: 7.301 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004197/0.6058, allocations: 280.5 kB / 1.51 GB, free: 7.02 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007308/0.6065, allocations: 462.3 kB / 1.511 GB, free: 6.566 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009272/0.6074, allocations: 366.9 kB / 1.511 GB, free: 6.211 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.73e-05/0.6075, allocations: 40 kB / 1.511 GB, free: 6.172 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.6087, allocations: 0.5805 MB / 1.512 GB, free: 5.59 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002143/0.6089, allocations: 171.4 kB / 1.512 GB, free: 5.422 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.6091, allocations: 226.9 kB / 1.512 GB, free: 5.199 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.6105, allocations: 0.9343 MB / 1.513 GB, free: 4.262 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6105, allocations: 0 / 1.513 GB, free: 4.262 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6105, allocations: 0 / 1.513 GB, free: 4.262 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.6105, allocations: 4 kB / 1.513 GB, free: 4.258 MB / 1.201 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.001495/0.612, allocations: 0.8192 MB / 1.514 GB, free: 3.406 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.612, allocations: 8.031 kB / 1.514 GB, free: 3.398 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.613, allocations: 159.5 kB / 1.514 GB, free: 3.242 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000878/0.6139, allocations: 450.2 kB / 1.514 GB, free: 2.777 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.6139, allocations: 20.66 kB / 1.514 GB, free: 2.758 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/0.614, allocations: 32 kB / 1.514 GB, free: 2.727 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.6147, allocations: 431.8 kB / 1.515 GB, free: 2.266 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.6147, allocations: 0 / 1.515 GB, free: 2.266 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.6147, allocations: 16 kB / 1.515 GB, free: 2.25 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.6148, allocations: 8.656 kB / 1.515 GB, free: 2.242 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.6152, allocations: 222.5 kB / 1.515 GB, free: 2.027 MB / 1.201 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.001841/0.617, allocations: 0.9138 MB / 1.516 GB, free: 1.078 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.6176, allocations: 215.3 kB / 1.516 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.6178, allocations: 104.8 kB / 1.516 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.6178, allocations: 0 / 1.516 GB, free: 0.7539 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004029/0.6182, allocations: 263.2 kB / 1.517 GB, free: 472 kB / 1.201 GB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.6182, allocations: 0 / 1.517 GB, free: 472 kB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.002783/0.621, allocations: 1.044 MB / 1.518 GB, free: 15.38 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.621, allocations: 59.34 kB / 1.518 GB, free: 15.31 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005771/0.6216, allocations: 469.8 kB / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.6216, allocations: 33.7 kB / 1.518 GB, free: 14.8 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.6219, allocations: 240.5 kB / 1.518 GB, free: 14.57 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.622, allocations: 111 kB / 1.518 GB, free: 14.46 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.6221, allocations: 78.06 kB / 1.519 GB, free: 14.38 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.6223, allocations: 346.8 kB / 1.519 GB, free: 14.03 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.6225, allocations: 132.7 kB / 1.519 GB, free: 13.9 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.6228, allocations: 186.9 kB / 1.519 GB, free: 13.7 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/0.6233, allocations: 303.9 kB / 1.519 GB, free: 13.39 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6233, allocations: 0 / 1.519 GB, free: 13.39 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001003/0.6243, allocations: 0.4983 MB / 1.52 GB, free: 12.88 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.6244, allocations: 4 kB / 1.52 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.6244, allocations: 0 / 1.52 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003481/0.6247, allocations: 84.8 kB / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.625, allocations: 64.03 kB / 1.52 GB, free: 12.73 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.6268, allocations: 1.778 MB / 1.522 GB, free: 10.85 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.6271, allocations: 8.031 kB / 1.522 GB, free: 10.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.6272, allocations: 19.98 kB / 1.522 GB, free: 10.82 MB / 1.217 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.0002324/0.6274, allocations: 189.8 kB / 1.522 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.6275, allocations: 51.66 kB / 1.522 GB, free: 10.57 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009068/0.6284, allocations: 406.9 kB / 1.522 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6284, allocations: 4 kB / 1.522 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6284, allocations: 3.984 kB / 1.522 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.6284, allocations: 4 kB / 1.522 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.6299, allocations: 0.8428 MB / 1.523 GB, free: 9.27 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6299, allocations: 0 / 1.523 GB, free: 9.27 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/0.6303, allocations: 67.91 kB / 1.523 GB, free: 9.203 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002981/0.6306, allocations: 80.73 kB / 1.523 GB, free: 9.121 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.6306, allocations: 15.94 kB / 1.523 GB, free: 9.105 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.6321, allocations: 1.522 MB / 1.525 GB, free: 7.48 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6321, allocations: 0 / 1.525 GB, free: 7.48 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.6332, allocations: 0.5843 MB / 1.525 GB, free: 6.875 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.6334, allocations: 67.69 kB / 1.526 GB, free: 6.809 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.6335, allocations: 19.88 kB / 1.526 GB, free: 6.789 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.6338, allocations: 11.98 kB / 1.526 GB, free: 6.777 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.6339, allocations: 23.95 kB / 1.526 GB, free: 6.754 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.6339, allocations: 8 kB / 1.526 GB, free: 6.746 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000377/0.6343, allocations: 307.1 kB / 1.526 GB, free: 6.445 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6343, allocations: 0 / 1.526 GB, free: 6.445 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000539/0.6348, allocations: 135.9 kB / 1.526 GB, free: 6.312 MB / 1.217 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.001722/0.6365, allocations: 451 kB / 1.526 GB, free: 6.051 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007841/0.6373, allocations: 418.4 kB / 1.527 GB, free: 5.629 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6373, allocations: 0 / 1.527 GB, free: 5.629 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.6377, allocations: 246.5 kB / 1.527 GB, free: 5.375 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.6388, allocations: 244.5 kB / 1.527 GB, free: 5.148 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.6406, allocations: 1.012 MB / 1.528 GB, free: 4.109 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.6409, allocations: 259.8 kB / 1.529 GB, free: 3.832 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003082/0.6412, allocations: 92.25 kB / 1.529 GB, free: 3.742 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.6413, allocations: 35.44 kB / 1.529 GB, free: 3.707 MB / 1.217 GB Notification: Performance of SimCode: time 6.91e-07/0.6413, allocations: 0 / 1.529 GB, free: 3.707 MB / 1.217 GB Notification: Performance of Templates: time 0.0188/0.6601, allocations: 10.04 MB / 1.538 GB, free: 9.852 MB / 1.232 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.587710237130523]