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.001991/0.001991, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002382/0.002382, allocations: 216.4 kB / 22.25 MB, free: 4.852 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.793 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.297/3.297, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.002103/0.002103, allocations: 71.02 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3997, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2082/0.6079, allocations: 143.6 MB / 1.465 GB, free: 2.191 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007174/0.6151, allocations: 3.346 MB / 1.469 GB, free: 14.84 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.6161, allocations: 23.81 kB / 1.469 GB, free: 14.82 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.6172, allocations: 270.5 kB / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.6203, allocations: 0.9296 MB / 1.47 GB, free: 13.62 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.6216, allocations: 450.8 kB / 1.47 GB, free: 13.18 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.6233, allocations: 1.13 MB / 1.471 GB, free: 12.04 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004812/0.6238, allocations: 272.6 kB / 1.472 GB, free: 11.77 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009375/0.6247, allocations: 470.2 kB / 1.472 GB, free: 11.3 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.6258, allocations: 358.2 kB / 1.472 GB, free: 10.96 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.994e-05/0.6259, allocations: 44 kB / 1.472 GB, free: 10.91 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.6272, allocations: 0.5805 MB / 1.473 GB, free: 10.33 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.6275, allocations: 179.4 kB / 1.473 GB, free: 10.16 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.6277, allocations: 218.9 kB / 1.473 GB, free: 9.941 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.6292, allocations: 0.9381 MB / 1.474 GB, free: 9 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.6292, allocations: 0 / 1.474 GB, free: 9 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6292, allocations: 4 kB / 1.474 GB, free: 8.996 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.6293, allocations: 0 / 1.474 GB, free: 8.996 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.001586/0.6308, allocations: 0.8163 MB / 1.475 GB, free: 8.148 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.6309, allocations: 12.03 kB / 1.475 GB, free: 8.137 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.177e-05/0.631, allocations: 66.55 kB / 1.475 GB, free: 8.062 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.632, allocations: 155.5 kB / 1.475 GB, free: 7.91 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008581/0.6328, allocations: 450.2 kB / 1.476 GB, free: 7.445 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.6329, allocations: 20.66 kB / 1.476 GB, free: 7.426 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/0.6329, allocations: 28 kB / 1.476 GB, free: 7.398 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006537/0.6336, allocations: 427.9 kB / 1.476 GB, free: 6.941 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.6336, allocations: 0 / 1.476 GB, free: 6.941 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.6336, allocations: 12 kB / 1.476 GB, free: 6.93 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.6337, allocations: 12.66 kB / 1.476 GB, free: 6.918 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.6341, allocations: 234.4 kB / 1.476 GB, free: 6.691 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.00185/0.6359, allocations: 0.964 MB / 1.477 GB, free: 5.68 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.6364, allocations: 213.3 kB / 1.478 GB, free: 5.465 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.6365, allocations: 104.8 kB / 1.478 GB, free: 5.359 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.6366, allocations: 4 kB / 1.478 GB, free: 5.355 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/0.637, allocations: 266.1 kB / 1.478 GB, free: 5.059 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 1.833e-06/0.637, allocations: 0 / 1.478 GB, free: 5.059 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.002858/0.6398, allocations: 1.024 MB / 1.479 GB, free: 3.996 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.6399, allocations: 63.34 kB / 1.479 GB, free: 3.922 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/0.6405, allocations: 473.9 kB / 1.479 GB, free: 3.449 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.6405, allocations: 29.7 kB / 1.479 GB, free: 3.414 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.6407, allocations: 248.5 kB / 1.48 GB, free: 3.168 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.6408, allocations: 107.1 kB / 1.48 GB, free: 3.062 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.641, allocations: 82.02 kB / 1.48 GB, free: 2.977 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.6411, allocations: 346.8 kB / 1.48 GB, free: 2.629 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.6414, allocations: 132.7 kB / 1.48 GB, free: 2.5 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.6417, allocations: 190.6 kB / 1.48 GB, free: 2.297 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005023/0.6422, allocations: 315.4 kB / 1.481 GB, free: 1.973 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6422, allocations: 0 / 1.481 GB, free: 1.973 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009945/0.6432, allocations: 498.4 kB / 1.481 GB, free: 1.477 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.6432, allocations: 4 kB / 1.481 GB, free: 1.473 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6432, allocations: 4 kB / 1.481 GB, free: 1.469 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/0.6435, allocations: 84.8 kB / 1.481 GB, free: 1.383 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.6438, allocations: 63.91 kB / 1.481 GB, free: 1.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.6458, allocations: 1.789 MB / 1.483 GB, free: 15.42 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/0.6462, allocations: 16.02 kB / 1.483 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.6462, allocations: 12 kB / 1.483 GB, free: 15.39 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.0002855/0.6465, allocations: 199.4 kB / 1.483 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.369e-05/0.6466, allocations: 55.73 kB / 1.483 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009356/0.6475, allocations: 403.7 kB / 1.484 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.6475, allocations: 7.938 kB / 1.484 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6476, allocations: 0 / 1.484 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6476, allocations: 0 / 1.484 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.6492, allocations: 0.9007 MB / 1.485 GB, free: 13.77 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6492, allocations: 0 / 1.485 GB, free: 13.77 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.6496, allocations: 59.97 kB / 1.485 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003412/0.6499, allocations: 76.91 kB / 1.485 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.65, allocations: 16 kB / 1.485 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.6516, allocations: 1.541 MB / 1.486 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6516, allocations: 0 / 1.486 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.6528, allocations: 0.5956 MB / 1.487 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.653, allocations: 67.73 kB / 1.487 GB, free: 11.27 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.653, allocations: 15.98 kB / 1.487 GB, free: 11.26 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.6534, allocations: 8 kB / 1.487 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.6535, allocations: 19.95 kB / 1.487 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.6535, allocations: 15.94 kB / 1.487 GB, free: 11.21 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004265/0.6539, allocations: 319.1 kB / 1.487 GB, free: 10.91 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.6539, allocations: 0 / 1.487 GB, free: 10.91 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006042/0.6545, allocations: 127.9 kB / 1.487 GB, free: 10.78 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.003121/0.6576, allocations: 1.486 MB / 1.489 GB, free: 9.453 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009365/0.6586, allocations: 418.6 kB / 1.489 GB, free: 9.031 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.6586, allocations: 4 kB / 1.489 GB, free: 9.027 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.6589, allocations: 238.6 kB / 1.49 GB, free: 8.781 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.6603, allocations: 246.7 kB / 1.49 GB, free: 8.551 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006685/0.667, allocations: 4.188 MB / 1.494 GB, free: 4.238 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.6673, allocations: 255.8 kB / 1.494 GB, free: 3.961 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003881/0.6677, allocations: 88.33 kB / 1.494 GB, free: 3.875 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.6679, allocations: 159.4 kB / 1.494 GB, free: 3.719 MB / 1.186 GB Notification: Performance of SimCode: time 1.393e-06/0.6679, allocations: 0 / 1.494 GB, free: 3.719 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05289/0.7208, allocations: 14.62 MB / 1.509 GB, free: 5.355 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.27, allocations: 5.906 kB / 1.509 GB, free: 5.352 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.470376102253795]