Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_11_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.006708/0.006708, allocations: 99.52 kB / 15.73 MB, free: 6.02 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.001732/0.001732, allocations: 192.4 kB / 16.67 MB, free: 5.938 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.71/2.71, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001794, allocations: 63.91 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2964, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.7868/1.083, allocations: 189.9 MB / 1.406 GB, free: 0.7695 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03585/1.119, allocations: 26.04 MB / 1.431 GB, free: 11.89 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002818/1.122, allocations: 64.03 kB / 1.431 GB, free: 11.86 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005972/1.128, allocations: 1.977 MB / 1.433 GB, free: 10.47 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01232/1.14, allocations: 4.318 MB / 1.437 GB, free: 7.105 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005987/1.146, allocations: 2.408 MB / 1.44 GB, free: 4.707 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01166/1.158, allocations: 7.711 MB / 1.447 GB, free: 12.98 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002907/1.161, allocations: 1.565 MB / 1.449 GB, free: 11.38 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005603/1.167, allocations: 2.349 MB / 1.451 GB, free: 9.023 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002646/1.169, allocations: 1.429 MB / 1.452 GB, free: 7.59 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006157/1.17, allocations: 208 kB / 1.452 GB, free: 7.387 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/1.181, allocations: 4.708 MB / 1.457 GB, free: 2.672 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/1.182, allocations: 0.6776 MB / 1.458 GB, free: 1.992 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002297/1.184, allocations: 1.221 MB / 1.459 GB, free: 0.7656 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01122/1.195, allocations: 5.783 MB / 1.465 GB, free: 10.96 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/1.195, allocations: 0 / 1.465 GB, free: 10.96 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.944e-06/1.195, allocations: 0 / 1.465 GB, free: 10.96 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001059/1.195, allocations: 0 / 1.465 GB, free: 10.96 MB / 1.154 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.007104/1.202, allocations: 2.932 MB / 1.467 GB, free: 7.957 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.203, allocations: 12.03 kB / 1.467 GB, free: 7.945 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003391/1.203, allocations: 164.7 kB / 1.468 GB, free: 7.773 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/1.208, allocations: 0.6619 MB / 1.468 GB, free: 7.109 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005915/1.213, allocations: 2.889 MB / 1.471 GB, free: 4.172 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/1.214, allocations: 86.11 kB / 1.471 GB, free: 4.086 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/1.214, allocations: 119.9 kB / 1.471 GB, free: 3.969 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/1.217, allocations: 1.351 MB / 1.473 GB, free: 2.531 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/1.217, allocations: 3.938 kB / 1.473 GB, free: 2.527 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/1.217, allocations: 47.94 kB / 1.473 GB, free: 2.48 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/1.217, allocations: 41.94 kB / 1.473 GB, free: 2.441 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/1.221, allocations: 1.124 MB / 1.474 GB, free: 1.312 MB / 1.154 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.01055/1.231, allocations: 6.815 MB / 1.48 GB, free: 10.12 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/1.233, allocations: 0.7928 MB / 1.481 GB, free: 9.305 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008616/1.234, allocations: 392 kB / 1.482 GB, free: 8.914 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007245/1.241, allocations: 2.833 MB / 1.484 GB, free: 5.84 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/1.243, allocations: 0.4975 MB / 1.485 GB, free: 5.32 MB / 1.17 GB Notification: Performance of pre-optimization done (n=69): time 2.906e-06/1.243, allocations: 4 kB / 1.485 GB, free: 5.316 MB / 1.17 GB Notification: Performance of matching and sorting (n=83): time 0.05417/1.297, allocations: 18.97 MB / 1.503 GB, free: 2.25 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.297, allocations: 166.8 kB / 1.504 GB, free: 2.051 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003525/1.301, allocations: 2.021 MB / 1.506 GB, free: 15.98 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/1.301, allocations: 45.7 kB / 1.506 GB, free: 15.93 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009494/1.302, allocations: 0.8747 MB / 1.506 GB, free: 15.05 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/1.302, allocations: 321.3 kB / 1.507 GB, free: 14.74 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006288/1.303, allocations: 331.5 kB / 1.507 GB, free: 14.41 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.303, allocations: 313.1 kB / 1.507 GB, free: 14.1 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/1.304, allocations: 0.6442 MB / 1.508 GB, free: 13.46 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/1.306, allocations: 1.07 MB / 1.509 GB, free: 12.23 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/1.309, allocations: 1.633 MB / 1.511 GB, free: 10.45 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/1.309, allocations: 4 kB / 1.511 GB, free: 10.45 MB / 1.201 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004929/1.314, allocations: 2.129 MB / 1.513 GB, free: 8.309 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.314, allocations: 14.33 kB / 1.513 GB, free: 8.297 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/1.314, allocations: 12 kB / 1.513 GB, free: 8.285 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008043/1.315, allocations: 221.9 kB / 1.513 GB, free: 8.062 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/1.316, allocations: 315.6 kB / 1.513 GB, free: 7.754 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00513/1.321, allocations: 4.158 MB / 1.517 GB, free: 3.316 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/1.323, allocations: 117.7 kB / 1.517 GB, free: 3.203 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/1.324, allocations: 63.97 kB / 1.517 GB, free: 3.141 MB / 1.201 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.001091/1.325, allocations: 0.5638 MB / 1.518 GB, free: 2.566 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007699/1.325, allocations: 202.8 kB / 1.518 GB, free: 2.367 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/1.329, allocations: 1.483 MB / 1.52 GB, free: 0.875 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.329, allocations: 15.94 kB / 1.52 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.329, allocations: 0 / 1.52 GB, free: 0.8594 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002728/1.332, allocations: 1.265 MB / 1.521 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02581/1.358, allocations: 9.324 MB / 1.53 GB, free: 5.848 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/1.358, allocations: 8 kB / 1.53 GB, free: 5.84 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008305/1.359, allocations: 172 kB / 1.53 GB, free: 5.672 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005667/1.36, allocations: 156.8 kB / 1.53 GB, free: 5.516 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.36, allocations: 43.89 kB / 1.53 GB, free: 5.473 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003231/1.363, allocations: 2.374 MB / 1.533 GB, free: 2.957 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.363, allocations: 12 kB / 1.533 GB, free: 2.945 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004397/1.367, allocations: 1.901 MB / 1.535 GB, free: 0.957 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009441/1.368, allocations: 415.6 kB / 1.535 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004812/1.369, allocations: 24 kB / 1.535 GB, free: 0.5078 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.37, allocations: 79.92 kB / 1.535 GB, free: 440 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/1.37, allocations: 84.34 kB / 1.535 GB, free: 356 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.873e-05/1.371, allocations: 35.92 kB / 1.535 GB, free: 320 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002724/1.373, allocations: 1.406 MB / 1.537 GB, free: 14.88 MB / 1.232 GB Notification: Performance of sort global known variables: time 3.2e-07/1.373, allocations: 0 / 1.537 GB, free: 14.88 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004441/1.378, allocations: 1.397 MB / 1.538 GB, free: 13.48 MB / 1.232 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.01229/1.39, allocations: 3.682 MB / 1.541 GB, free: 9.875 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004235/1.394, allocations: 1.649 MB / 1.543 GB, free: 8.203 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/1.394, allocations: 4 kB / 1.543 GB, free: 8.199 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/1.396, allocations: 0.651 MB / 1.544 GB, free: 7.535 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004796/1.401, allocations: 0.9519 MB / 1.545 GB, free: 6.609 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03264/1.434, allocations: 15.89 MB / 1.56 GB, free: 6.066 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/1.435, allocations: 1.502 MB / 1.562 GB, free: 4.535 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001764/1.437, allocations: 403.5 kB / 1.562 GB, free: 4.137 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.438, allocations: 0.7843 MB / 1.563 GB, free: 3.352 MB / 1.248 GB Notification: Performance of SimCode: time 1.082e-06/1.438, allocations: 0 / 1.563 GB, free: 3.352 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1543/1.593, allocations: 87.73 MB / 1.648 GB, free: 12.34 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.52/18.11, allocations: 15.12 kB / 1.648 GB, free: 12.33 MB / 1.342 GB (rm -f Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches