Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001697/0.001697, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002262/0.002262, allocations: 219.7 kB / 22.25 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.238/3.238, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) [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.002048/0.002048, allocations: 73 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4328, allocations: 176.1 MB / 1.326 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1996/0.6324, allocations: 143.6 MB / 1.466 GB, free: 1.398 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006874/0.6393, allocations: 3.342 MB / 1.469 GB, free: 14.05 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007575/0.6401, allocations: 23.81 kB / 1.469 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009735/0.641, allocations: 266.5 kB / 1.47 GB, free: 13.76 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.6436, allocations: 0.9335 MB / 1.471 GB, free: 12.82 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.6448, allocations: 465.5 kB / 1.471 GB, free: 12.37 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.6464, allocations: 1.142 MB / 1.472 GB, free: 11.23 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.6468, allocations: 280.6 kB / 1.472 GB, free: 10.94 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007591/0.6476, allocations: 466.2 kB / 1.473 GB, free: 10.48 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009676/0.6486, allocations: 378.1 kB / 1.473 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.6486, allocations: 40 kB / 1.473 GB, free: 10.08 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.6498, allocations: 0.5922 MB / 1.474 GB, free: 9.484 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.65, allocations: 175.4 kB / 1.474 GB, free: 9.312 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.6503, allocations: 226.9 kB / 1.474 GB, free: 9.09 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.6517, allocations: 0.9303 MB / 1.475 GB, free: 8.156 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6517, allocations: 0 / 1.475 GB, free: 8.156 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6517, allocations: 3.938 kB / 1.475 GB, free: 8.152 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.6517, allocations: 3.938 kB / 1.475 GB, free: 8.148 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.00156/0.6532, allocations: 0.8192 MB / 1.476 GB, free: 7.297 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.6533, allocations: 12.03 kB / 1.476 GB, free: 7.285 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.692e-05/0.6534, allocations: 66.52 kB / 1.476 GB, free: 7.211 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.6544, allocations: 155.5 kB / 1.476 GB, free: 7.059 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008535/0.6553, allocations: 442.2 kB / 1.477 GB, free: 6.598 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.6553, allocations: 20.66 kB / 1.477 GB, free: 6.578 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.6553, allocations: 39.98 kB / 1.477 GB, free: 6.539 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/0.656, allocations: 419.9 kB / 1.477 GB, free: 6.09 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.656, allocations: 0 / 1.477 GB, free: 6.09 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.656, allocations: 19.98 kB / 1.477 GB, free: 6.07 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.6561, allocations: 12.64 kB / 1.477 GB, free: 6.059 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/0.6565, allocations: 226.4 kB / 1.477 GB, free: 5.84 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.001865/0.6584, allocations: 0.9641 MB / 1.478 GB, free: 4.828 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/0.6588, allocations: 206.7 kB / 1.478 GB, free: 4.617 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.659, allocations: 108.1 kB / 1.478 GB, free: 4.512 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.659, allocations: 4 kB / 1.478 GB, free: 4.508 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003719/0.6594, allocations: 270.1 kB / 1.479 GB, free: 4.207 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/0.6594, allocations: 0 / 1.479 GB, free: 4.207 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.002796/0.6622, allocations: 1.027 MB / 1.48 GB, free: 3.141 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.6622, allocations: 59.34 kB / 1.48 GB, free: 3.07 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005755/0.6628, allocations: 465.9 kB / 1.48 GB, free: 2.609 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.6628, allocations: 33.7 kB / 1.48 GB, free: 2.57 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.663, allocations: 244.5 kB / 1.48 GB, free: 2.328 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.6631, allocations: 107.1 kB / 1.481 GB, free: 2.223 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.6633, allocations: 82.02 kB / 1.481 GB, free: 2.137 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6635, allocations: 358.8 kB / 1.481 GB, free: 1.777 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.6637, allocations: 124.7 kB / 1.481 GB, free: 1.656 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.664, allocations: 194.6 kB / 1.481 GB, free: 1.449 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.6645, allocations: 307.4 kB / 1.482 GB, free: 1.133 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.6645, allocations: 4 kB / 1.482 GB, free: 1.129 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009774/0.6654, allocations: 498.4 kB / 1.482 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6655, allocations: 4 kB / 1.482 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6655, allocations: 0 / 1.482 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003572/0.6658, allocations: 88.95 kB / 1.482 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.6661, allocations: 59.91 kB / 1.482 GB, free: 492 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.6681, allocations: 1.793 MB / 1.484 GB, free: 14.57 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.6684, allocations: 16.09 kB / 1.484 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.6685, allocations: 16.05 kB / 1.484 GB, free: 14.54 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.0002795/0.6688, allocations: 199.2 kB / 1.484 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-05/0.6688, allocations: 47.67 kB / 1.484 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009278/0.6698, allocations: 411.6 kB / 1.485 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.6698, allocations: 11.94 kB / 1.485 GB, free: 13.87 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.6698, allocations: 3.938 kB / 1.485 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6698, allocations: 3.984 kB / 1.485 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.6714, allocations: 0.889 MB / 1.486 GB, free: 12.92 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.6714, allocations: 0 / 1.486 GB, free: 12.92 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.6718, allocations: 63.97 kB / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003077/0.6721, allocations: 76.78 kB / 1.486 GB, free: 12.78 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.6721, allocations: 15.98 kB / 1.486 GB, free: 12.76 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.6736, allocations: 1.541 MB / 1.487 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6736, allocations: 0 / 1.487 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.6747, allocations: 0.5916 MB / 1.488 GB, free: 10.49 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.6749, allocations: 75.72 kB / 1.488 GB, free: 10.42 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.6749, allocations: 8 kB / 1.488 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.6752, allocations: 8 kB / 1.488 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.6753, allocations: 24.02 kB / 1.488 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.6753, allocations: 15.98 kB / 1.488 GB, free: 10.36 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003859/0.6757, allocations: 311.1 kB / 1.488 GB, free: 10.06 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6757, allocations: 3.938 kB / 1.488 GB, free: 10.06 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000576/0.6763, allocations: 131.9 kB / 1.488 GB, free: 9.93 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 (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.003072/0.6794, allocations: 1.479 MB / 1.49 GB, free: 8.609 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008345/0.6802, allocations: 414.9 kB / 1.49 GB, free: 8.191 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6802, allocations: 8.047 kB / 1.49 GB, free: 8.184 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.6806, allocations: 242.6 kB / 1.49 GB, free: 7.934 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.6817, allocations: 243.8 kB / 1.491 GB, free: 7.707 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/0.6882, allocations: 4.196 MB / 1.495 GB, free: 3.387 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.6885, allocations: 251.8 kB / 1.495 GB, free: 3.113 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003803/0.6889, allocations: 88.34 kB / 1.495 GB, free: 3.027 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.6891, allocations: 159.4 kB / 1.495 GB, free: 2.871 MB / 1.186 GB Notification: Performance of SimCode: time 1.443e-06/0.6891, allocations: 0 / 1.495 GB, free: 2.871 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06094/0.7501, allocations: 14.72 MB / 1.51 GB, free: 4.402 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.96, allocations: 4.578 kB / 1.51 GB, free: 4.402 MB / 1.201 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv --start-time 0 --stop-time 172800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_12_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.T_start in file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.06351572999847]