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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005307/0.005307, allocations: 98.02 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.001144/0.001144, allocations: 193.5 kB / 16.68 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.36/2.36, allocations: 469.4 MB / 0.7422 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 55.91 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.712/0.7132, allocations: 159.1 MB / 1.22 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1694/0.8826, allocations: 189.9 MB / 1.405 GB, free: 3.695 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03193/0.9146, allocations: 26.04 MB / 1.431 GB, free: 9.59 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/0.9172, allocations: 59.69 kB / 1.431 GB, free: 9.531 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005478/0.9227, allocations: 2.003 MB / 1.433 GB, free: 7.52 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.9337, allocations: 4.47 MB / 1.437 GB, free: 3.039 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005521/0.9393, allocations: 2.415 MB / 1.439 GB, free: 0.6289 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.9499, allocations: 7.701 MB / 1.447 GB, free: 8.906 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002655/0.9525, allocations: 1.578 MB / 1.448 GB, free: 7.293 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005793/0.9584, allocations: 2.398 MB / 1.451 GB, free: 4.891 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.9609, allocations: 1.424 MB / 1.452 GB, free: 3.461 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006022/0.9615, allocations: 208 kB / 1.452 GB, free: 3.258 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008644/0.9702, allocations: 4.716 MB / 1.457 GB, free: 14.54 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008667/0.9711, allocations: 0.6698 MB / 1.458 GB, free: 13.86 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001887/0.973, allocations: 1.225 MB / 1.459 GB, free: 12.63 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.009035/0.982, allocations: 5.78 MB / 1.464 GB, free: 6.832 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9821, allocations: 0 / 1.464 GB, free: 6.832 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9821, allocations: 0 / 1.464 GB, free: 6.832 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.758e-05/0.9822, allocations: 0 / 1.464 GB, free: 6.832 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.006347/0.9885, allocations: 2.938 MB / 1.467 GB, free: 3.82 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.9886, allocations: 12.62 kB / 1.467 GB, free: 3.809 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000251/0.9888, allocations: 164.7 kB / 1.467 GB, free: 3.637 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004411/0.9932, allocations: 0.6619 MB / 1.468 GB, free: 2.973 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005205/0.9985, allocations: 2.885 MB / 1.471 GB, free: 40 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/0.9986, allocations: 90.09 kB / 1.471 GB, free: 15.95 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/0.9988, allocations: 116 kB / 1.471 GB, free: 15.84 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/1.001, allocations: 1.34 MB / 1.472 GB, free: 14.41 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/1.001, allocations: 7.891 kB / 1.472 GB, free: 14.4 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/1.002, allocations: 51.98 kB / 1.472 GB, free: 14.35 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.759e-05/1.002, allocations: 38 kB / 1.472 GB, free: 14.32 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/1.004, allocations: 1.124 MB / 1.474 GB, free: 13.19 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.008795/1.013, allocations: 6.834 MB / 1.48 GB, free: 5.984 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/1.015, allocations: 0.7952 MB / 1.481 GB, free: 5.16 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007722/1.016, allocations: 388.1 kB / 1.481 GB, free: 4.773 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006983/1.023, allocations: 2.837 MB / 1.484 GB, free: 1.695 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/1.024, allocations: 0.4938 MB / 1.485 GB, free: 1.18 MB / 1.201 GB Notification: Performance of pre-optimization done (n=69): time 2.885e-06/1.024, allocations: 7.938 kB / 1.485 GB, free: 1.172 MB / 1.201 GB Notification: Performance of matching and sorting (n=83): time 0.05176/1.076, allocations: 18.97 MB / 1.503 GB, free: 14.11 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/1.076, allocations: 174.9 kB / 1.503 GB, free: 13.89 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/1.079, allocations: 2.021 MB / 1.505 GB, free: 11.83 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/1.079, allocations: 45.7 kB / 1.505 GB, free: 11.78 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007555/1.08, allocations: 0.8787 MB / 1.506 GB, free: 10.89 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/1.08, allocations: 317.3 kB / 1.507 GB, free: 10.58 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004995/1.081, allocations: 335.4 kB / 1.507 GB, free: 10.25 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/1.081, allocations: 305.1 kB / 1.507 GB, free: 9.949 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/1.082, allocations: 0.6481 MB / 1.508 GB, free: 9.301 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/1.083, allocations: 1.073 MB / 1.509 GB, free: 8.066 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/1.086, allocations: 1.621 MB / 1.51 GB, free: 6.309 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/1.086, allocations: 4 kB / 1.51 GB, free: 6.305 MB / 1.232 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004616/1.091, allocations: 2.137 MB / 1.512 GB, free: 4.152 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/1.091, allocations: 12 kB / 1.513 GB, free: 4.141 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/1.091, allocations: 8 kB / 1.513 GB, free: 4.133 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007617/1.092, allocations: 221.8 kB / 1.513 GB, free: 3.91 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.093, allocations: 315.5 kB / 1.513 GB, free: 3.602 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004755/1.098, allocations: 4.162 MB / 1.517 GB, free: 15.16 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/1.1, allocations: 108.5 kB / 1.517 GB, free: 15.05 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/1.1, allocations: 67.97 kB / 1.517 GB, free: 14.98 MB / 1.248 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 (162): * Single equations (assignments): 158 * 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.001094/1.101, allocations: 0.5637 MB / 1.518 GB, free: 14.41 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008651/1.102, allocations: 198.7 kB / 1.518 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/1.106, allocations: 1.485 MB / 1.519 GB, free: 12.72 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.106, allocations: 8 kB / 1.519 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.106, allocations: 0 / 1.519 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002511/1.108, allocations: 1.273 MB / 1.521 GB, free: 11.36 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02429/1.133, allocations: 9.316 MB / 1.53 GB, free: 1.703 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.133, allocations: 8 kB / 1.53 GB, free: 1.695 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008065/1.133, allocations: 171.8 kB / 1.53 GB, free: 1.527 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005419/1.134, allocations: 164.8 kB / 1.53 GB, free: 1.363 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.67e-05/1.134, allocations: 31.98 kB / 1.53 GB, free: 1.332 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/1.137, allocations: 2.381 MB / 1.532 GB, free: 14.81 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/1.137, allocations: 15.88 kB / 1.532 GB, free: 14.8 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/1.141, allocations: 1.901 MB / 1.534 GB, free: 12.81 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009643/1.142, allocations: 411.6 kB / 1.535 GB, free: 12.39 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005206/1.143, allocations: 28 kB / 1.535 GB, free: 12.36 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/1.144, allocations: 83.91 kB / 1.535 GB, free: 12.28 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/1.144, allocations: 76.36 kB / 1.535 GB, free: 12.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/1.144, allocations: 43.92 kB / 1.535 GB, free: 12.16 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002438/1.147, allocations: 1.406 MB / 1.536 GB, free: 10.73 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.4e-07/1.147, allocations: 0 / 1.536 GB, free: 10.73 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004175/1.151, allocations: 1.389 MB / 1.538 GB, free: 9.344 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 7 (bui.port_b.h_outflow,bui.IntEHea.y,bui.pumCNR.filter.s[1],bui.pumCNR.filter.s[2],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 (82): * Single equations (assignments): 79 * 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.01081/1.162, allocations: 3.683 MB / 1.541 GB, free: 5.734 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004006/1.166, allocations: 1.659 MB / 1.543 GB, free: 4.047 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.166, allocations: 0 / 1.543 GB, free: 4.047 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/1.168, allocations: 0.6565 MB / 1.544 GB, free: 3.383 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004515/1.172, allocations: 0.958 MB / 1.544 GB, free: 2.449 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02846/1.201, allocations: 15.89 MB / 1.56 GB, free: 1.902 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/1.202, allocations: 1.495 MB / 1.561 GB, free: 388 kB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.5384/1.74, allocations: 401.9 kB / 1.562 GB, free: 327 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/1.742, allocations: 0.7894 MB / 1.563 GB, free: 327 MB / 1.279 GB Notification: Performance of SimCode: time 1.192e-06/1.742, allocations: 0 / 1.563 GB, free: 327 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/1.858, allocations: 87.91 MB / 1.648 GB, free: 266.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/17.53, allocations: 7.5 kB / 1.648 GB, free: 266.2 MB / 1.279 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 50 --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