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.001285/0.001285, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001465/0.001465, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.541/1.541, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.282/3.282, allocations: 0.505 GB / 0.8066 GB, free: 23.04 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: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_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.002003/0.002003, allocations: 63.73 kB / 1.172 GB, free: 17.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4758/0.4778, allocations: 180.2 MB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2098/0.6876, allocations: 166.4 MB / 1.51 GB, free: 2.98 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006618/0.6942, allocations: 3.574 MB / 1.514 GB, free: 15.4 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006815/0.6949, allocations: 23.81 kB / 1.514 GB, free: 15.38 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0009868/0.6958, allocations: 282.4 kB / 1.514 GB, free: 15.1 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.6984, allocations: 0.9256 MB / 1.515 GB, free: 14.17 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.6996, allocations: 453.3 kB / 1.515 GB, free: 13.73 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001562/0.7012, allocations: 1.103 MB / 1.516 GB, free: 12.62 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004446/0.7016, allocations: 284.2 kB / 1.517 GB, free: 12.34 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007952/0.7024, allocations: 470.2 kB / 1.517 GB, free: 11.88 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009377/0.7034, allocations: 372.5 kB / 1.517 GB, free: 11.52 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.149e-05/0.7034, allocations: 40 kB / 1.517 GB, free: 11.48 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.7048, allocations: 0.7521 MB / 1.518 GB, free: 10.72 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.7051, allocations: 171.4 kB / 1.518 GB, free: 10.55 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.7054, allocations: 278.6 kB / 1.519 GB, free: 10.28 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.7069, allocations: 0.942 MB / 1.52 GB, free: 9.336 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7069, allocations: 0 / 1.52 GB, free: 9.336 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7069, allocations: 0 / 1.52 GB, free: 9.336 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.7069, allocations: 4 kB / 1.52 GB, free: 9.332 MB / 1.217 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.001668/0.7086, allocations: 0.8944 MB / 1.52 GB, free: 8.383 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.7086, allocations: 15.98 kB / 1.52 GB, free: 8.367 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.011e-05/0.7087, allocations: 62.53 kB / 1.521 GB, free: 8.297 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.7098, allocations: 155.5 kB / 1.521 GB, free: 8.145 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008615/0.7107, allocations: 0.5129 MB / 1.521 GB, free: 7.594 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.7107, allocations: 20.56 kB / 1.521 GB, free: 7.574 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.7108, allocations: 28 kB / 1.521 GB, free: 7.547 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/0.7114, allocations: 319.6 kB / 1.522 GB, free: 7.223 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.7114, allocations: 0 / 1.522 GB, free: 7.223 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.7114, allocations: 15.94 kB / 1.522 GB, free: 7.207 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.7115, allocations: 8.562 kB / 1.522 GB, free: 7.199 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.7119, allocations: 226.1 kB / 1.522 GB, free: 6.977 MB / 1.217 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.002203/0.7141, allocations: 1.526 MB / 1.523 GB, free: 5.293 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.7145, allocations: 214.7 kB / 1.523 GB, free: 5.074 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.7147, allocations: 96.83 kB / 1.524 GB, free: 4.977 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.7148, allocations: 4 kB / 1.524 GB, free: 4.973 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.7151, allocations: 163.2 kB / 1.524 GB, free: 4.801 MB / 1.217 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.7151, allocations: 3.938 kB / 1.524 GB, free: 4.797 MB / 1.217 GB Notification: Performance of matching and sorting (n=29): time 0.003052/0.7182, allocations: 1.096 MB / 1.525 GB, free: 3.641 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.7182, allocations: 67.34 kB / 1.525 GB, free: 3.562 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.7188, allocations: 473.9 kB / 1.525 GB, free: 3.094 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.7188, allocations: 33.7 kB / 1.525 GB, free: 3.055 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.7191, allocations: 240.5 kB / 1.526 GB, free: 2.816 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.7192, allocations: 107.1 kB / 1.526 GB, free: 2.711 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.7193, allocations: 85.95 kB / 1.526 GB, free: 2.621 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.7195, allocations: 350.8 kB / 1.526 GB, free: 2.27 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.7198, allocations: 128.7 kB / 1.526 GB, free: 2.145 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.7201, allocations: 186.9 kB / 1.526 GB, free: 1.945 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/0.7206, allocations: 307.4 kB / 1.527 GB, free: 1.629 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.7206, allocations: 0 / 1.527 GB, free: 1.629 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001051/0.7216, allocations: 494.4 kB / 1.527 GB, free: 1.137 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.7216, allocations: 4.156 kB / 1.527 GB, free: 1.133 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.7216, allocations: 7.984 kB / 1.527 GB, free: 1.125 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/0.722, allocations: 84.8 kB / 1.527 GB, free: 1.039 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.7223, allocations: 59.92 kB / 1.527 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.7245, allocations: 1.912 MB / 1.529 GB, free: 14.93 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.7248, allocations: 11.98 kB / 1.529 GB, free: 14.92 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.7248, allocations: 12 kB / 1.529 GB, free: 14.91 MB / 1.232 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.0002652/0.7251, allocations: 200.3 kB / 1.529 GB, free: 14.7 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.7252, allocations: 51.67 kB / 1.529 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.7253, allocations: 52.66 kB / 1.529 GB, free: 14.6 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.7253, allocations: 8.031 kB / 1.529 GB, free: 14.59 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.7253, allocations: 0 / 1.529 GB, free: 14.59 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.7253, allocations: 8.047 kB / 1.529 GB, free: 14.58 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.727, allocations: 0.9562 MB / 1.53 GB, free: 13.56 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.727, allocations: 128 / 1.53 GB, free: 13.56 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.7274, allocations: 71.91 kB / 1.53 GB, free: 13.49 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003135/0.7277, allocations: 76.78 kB / 1.531 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.7277, allocations: 23.86 kB / 1.531 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.7293, allocations: 1.633 MB / 1.532 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7293, allocations: 0 / 1.532 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.7304, allocations: 0.5871 MB / 1.533 GB, free: 11.01 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.7306, allocations: 148.8 kB / 1.533 GB, free: 10.84 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.7307, allocations: 11.98 kB / 1.533 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.731, allocations: 11.94 kB / 1.533 GB, free: 10.82 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.7311, allocations: 19.97 kB / 1.533 GB, free: 10.8 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.7311, allocations: 24.16 kB / 1.533 GB, free: 10.78 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003988/0.7315, allocations: 311.1 kB / 1.533 GB, free: 10.47 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.7315, allocations: 0 / 1.533 GB, free: 10.47 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005544/0.7321, allocations: 127.9 kB / 1.533 GB, free: 10.35 MB / 1.232 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.00298/0.7351, allocations: 1.438 MB / 1.535 GB, free: 9.039 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008327/0.7359, allocations: 410.8 kB / 1.535 GB, free: 8.625 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7359, allocations: 4 kB / 1.535 GB, free: 8.621 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.7362, allocations: 246.5 kB / 1.535 GB, free: 8.367 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.7374, allocations: 237.5 kB / 1.536 GB, free: 8.145 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006487/0.7439, allocations: 4.169 MB / 1.54 GB, free: 3.855 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.7444, allocations: 0.8619 MB / 1.541 GB, free: 2.965 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003863/0.7448, allocations: 84.31 kB / 1.541 GB, free: 2.883 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.7451, allocations: 159.4 kB / 1.541 GB, free: 2.727 MB / 1.232 GB Notification: Performance of SimCode: time 1.333e-06/0.7451, allocations: 0 / 1.541 GB, free: 2.727 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05913/0.8042, allocations: 13.09 MB / 1.554 GB, free: 5.82 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.23, allocations: 12 kB / 1.554 GB, free: 5.809 MB / 1.248 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv --start-time 0 --stop-time 172800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.260178501019254]