Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007185/0.007185, allocations: 100.9 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001937, allocations: 192.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.7/2.7, allocations: 482.4 MB / 0.7548 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.14 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2781, allocations: 162.2 MB / 1.241 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2056/0.4838, allocations: 189.9 MB / 1.427 GB, free: 10.7 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03402/0.5179, allocations: 26.05 MB / 1.452 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.5202, allocations: 59.69 kB / 1.452 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005531/0.5258, allocations: 1.982 MB / 1.454 GB, free: 14.53 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.5367, allocations: 4.317 MB / 1.459 GB, free: 10.2 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.005594/0.5423, allocations: 2.389 MB / 1.461 GB, free: 7.816 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01076/0.5531, allocations: 7.462 MB / 1.468 GB, free: 352 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002924/0.556, allocations: 1.567 MB / 1.47 GB, free: 14.74 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006145/0.5622, allocations: 2.575 MB / 1.472 GB, free: 12.16 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.5648, allocations: 1.381 MB / 1.474 GB, free: 10.77 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006307/0.5655, allocations: 208 kB / 1.474 GB, free: 10.57 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01043/0.5759, allocations: 4.716 MB / 1.478 GB, free: 5.844 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.577, allocations: 0.6543 MB / 1.479 GB, free: 5.188 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002282/0.5793, allocations: 1.209 MB / 1.48 GB, free: 3.973 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.5903, allocations: 5.756 MB / 1.486 GB, free: 14.2 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.5903, allocations: 0 / 1.486 GB, free: 14.2 MB / 1.217 GB Notification: Performance of FrontEnd: time 6.221e-06/0.5903, allocations: 0 / 1.486 GB, free: 14.2 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001032/0.5904, allocations: 3.938 kB / 1.486 GB, free: 14.2 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.007872/0.5983, allocations: 2.909 MB / 1.489 GB, free: 11.21 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5984, allocations: 11.98 kB / 1.489 GB, free: 11.2 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003611/0.5988, allocations: 160.6 kB / 1.489 GB, free: 11.03 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004899/0.6037, allocations: 0.6658 MB / 1.489 GB, free: 10.36 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005998/0.6097, allocations: 2.873 MB / 1.492 GB, free: 7.441 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.646e-05/0.6098, allocations: 86.08 kB / 1.492 GB, free: 7.355 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.6101, allocations: 112 kB / 1.492 GB, free: 7.246 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/0.6134, allocations: 1.339 MB / 1.494 GB, free: 5.82 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.6134, allocations: 4 kB / 1.494 GB, free: 5.816 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.6136, allocations: 51.94 kB / 1.494 GB, free: 5.766 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.6136, allocations: 24 kB / 1.494 GB, free: 5.742 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/0.6167, allocations: 1.124 MB / 1.495 GB, free: 4.617 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.01046/0.6272, allocations: 6.787 MB / 1.502 GB, free: 13.45 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.6294, allocations: 0.8065 MB / 1.502 GB, free: 12.62 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008914/0.6303, allocations: 401.8 kB / 1.503 GB, free: 12.22 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007587/0.6379, allocations: 2.821 MB / 1.505 GB, free: 9.16 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001277/0.6392, allocations: 0.4975 MB / 1.506 GB, free: 8.633 MB / 1.232 GB Notification: Performance of pre-optimization done (n=67): time 2.975e-06/0.6393, allocations: 0 / 1.506 GB, free: 8.633 MB / 1.232 GB Notification: Performance of matching and sorting (n=81): time 0.05673/0.696, allocations: 18.84 MB / 1.524 GB, free: 5.707 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.6961, allocations: 166.9 kB / 1.525 GB, free: 5.504 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0036/0.6997, allocations: 2.012 MB / 1.526 GB, free: 3.449 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.6999, allocations: 45.7 kB / 1.527 GB, free: 3.398 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009539/0.7009, allocations: 0.8746 MB / 1.527 GB, free: 2.516 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000365/0.7012, allocations: 313.4 kB / 1.528 GB, free: 2.207 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006056/0.7018, allocations: 331.4 kB / 1.528 GB, free: 1.879 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.702, allocations: 305.1 kB / 1.528 GB, free: 1.578 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.7034, allocations: 0.652 MB / 1.529 GB, free: 0.9258 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.7053, allocations: 1.058 MB / 1.53 GB, free: 15.71 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003059/0.7084, allocations: 1.621 MB / 1.532 GB, free: 13.94 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.7084, allocations: 7.938 kB / 1.532 GB, free: 13.93 MB / 1.264 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005128/0.7135, allocations: 2.11 MB / 1.534 GB, free: 11.81 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.7136, allocations: 8 kB / 1.534 GB, free: 11.8 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/0.7136, allocations: 15.94 kB / 1.534 GB, free: 11.79 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008366/0.7145, allocations: 229.7 kB / 1.534 GB, free: 11.56 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.7157, allocations: 303.5 kB / 1.534 GB, free: 11.26 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005446/0.7211, allocations: 4.158 MB / 1.538 GB, free: 6.828 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.7231, allocations: 108 kB / 1.538 GB, free: 6.723 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.7234, allocations: 75.97 kB / 1.538 GB, free: 6.648 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 155 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001169/0.7246, allocations: 0.5596 MB / 1.539 GB, free: 6.082 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008367/0.7254, allocations: 198.7 kB / 1.539 GB, free: 5.887 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/0.7298, allocations: 1.489 MB / 1.541 GB, free: 4.383 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.7298, allocations: 8 kB / 1.541 GB, free: 4.375 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.7298, allocations: 4 kB / 1.541 GB, free: 4.371 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00295/0.7328, allocations: 1.265 MB / 1.542 GB, free: 3.035 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5465/1.279, allocations: 9.285 MB / 1.551 GB, free: 290.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.279, allocations: 5.969 kB / 1.551 GB, free: 290.3 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007971/1.28, allocations: 180.1 kB / 1.551 GB, free: 290.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005533/1.281, allocations: 164.3 kB / 1.551 GB, free: 290.3 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/1.281, allocations: 29.94 kB / 1.551 GB, free: 290.3 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002634/1.283, allocations: 2.376 MB / 1.554 GB, free: 288.6 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.283, allocations: 8.734 kB / 1.554 GB, free: 288.6 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004049/1.287, allocations: 1.905 MB / 1.555 GB, free: 287.7 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007395/1.288, allocations: 412.7 kB / 1.556 GB, free: 287.5 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/1.289, allocations: 28.88 kB / 1.556 GB, free: 287.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.29, allocations: 81.48 kB / 1.556 GB, free: 287.5 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/1.29, allocations: 80.61 kB / 1.556 GB, free: 287.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.199e-05/1.29, allocations: 36.48 kB / 1.556 GB, free: 287.5 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002196/1.292, allocations: 1.398 MB / 1.557 GB, free: 286.9 MB / 1.264 GB Notification: Performance of sort global known variables: time 3e-07/1.292, allocations: 1.125 kB / 1.557 GB, free: 286.9 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004038/1.296, allocations: 1.385 MB / 1.559 GB, free: 286.8 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.motSpe.y,bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01091/1.307, allocations: 3.675 MB / 1.562 GB, free: 285.4 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003745/1.311, allocations: 1.658 MB / 1.564 GB, free: 284.6 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.311, allocations: 1.156 kB / 1.564 GB, free: 284.6 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/1.313, allocations: 0.6437 MB / 1.565 GB, free: 284.3 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004614/1.317, allocations: 0.961 MB / 1.566 GB, free: 284.1 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/1.345, allocations: 15.83 MB / 1.581 GB, free: 276.4 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.346, allocations: 1.484 MB / 1.582 GB, free: 275.6 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001601/1.347, allocations: 403.1 kB / 1.583 GB, free: 275.5 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.348, allocations: 0.7912 MB / 1.584 GB, free: 274.9 MB / 1.264 GB Notification: Performance of SimCode: time 6.41e-07/1.348, allocations: 0 / 1.584 GB, free: 274.9 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/1.465, allocations: 87.42 MB / 1.669 GB, free: 196.7 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.3/19.76, allocations: 15.56 kB / 1.669 GB, free: 196.7 MB / 1.264 GB (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.csv --start-time 1.728e+06 --stop-time 1.8144e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches