Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_10_Buildings_Experimental_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.01068/0.01068, allocations: 96.89 kB / 15.73 MB, free: 6.004 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.002429/0.002429, allocations: 196.7 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.688/2.688, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.374/4.374, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003534/0.003534, allocations: 59.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5668/0.5703, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 1.649/2.22, allocations: 189.9 MB / 1.352 GB, free: 3.781 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.06937/2.289, allocations: 26.06 MB / 1.377 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005859/2.295, allocations: 64 kB / 1.377 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01237/2.308, allocations: 1.976 MB / 1.379 GB, free: 15.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.02611/2.334, allocations: 4.328 MB / 1.383 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01308/2.347, allocations: 2.387 MB / 1.386 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02219/2.369, allocations: 7.702 MB / 1.393 GB, free: 6.328 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005651/2.375, allocations: 1.582 MB / 1.395 GB, free: 5.281 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/2.387, allocations: 2.336 MB / 1.397 GB, free: 3.816 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005175/2.392, allocations: 1.427 MB / 1.398 GB, free: 2.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001106/2.393, allocations: 208.3 kB / 1.399 GB, free: 2.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02341/2.416, allocations: 4.71 MB / 1.403 GB, free: 464 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002352/2.419, allocations: 0.6665 MB / 1.404 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004917/2.424, allocations: 1.227 MB / 1.405 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0254/2.449, allocations: 5.879 MB / 1.411 GB, free: 10.23 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.138e-06/2.449, allocations: 0 / 1.411 GB, free: 10.23 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.926e-06/2.449, allocations: 0 / 1.411 GB, free: 10.23 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001081/2.45, allocations: 0 / 1.411 GB, free: 10.23 MB / 1.076 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.01476/2.464, allocations: 2.936 MB / 1.414 GB, free: 7.223 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 7.771e-05/2.464, allocations: 12.03 kB / 1.414 GB, free: 7.211 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007318/2.465, allocations: 164.7 kB / 1.414 GB, free: 7.039 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008857/2.474, allocations: 0.6581 MB / 1.414 GB, free: 6.379 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01237/2.486, allocations: 2.889 MB / 1.417 GB, free: 3.441 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000225/2.487, allocations: 86.11 kB / 1.417 GB, free: 3.355 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007387/2.487, allocations: 112 kB / 1.417 GB, free: 3.246 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006607/2.494, allocations: 1.34 MB / 1.419 GB, free: 1.82 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-05/2.494, allocations: 11.94 kB / 1.419 GB, free: 1.809 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003646/2.495, allocations: 55.92 kB / 1.419 GB, free: 1.754 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.132e-05/2.495, allocations: 34 kB / 1.419 GB, free: 1.723 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00581/2.501, allocations: 1.124 MB / 1.42 GB, free: 0.5977 MB / 1.076 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.0224/2.523, allocations: 6.853 MB / 1.427 GB, free: 9.371 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003936/2.527, allocations: 0.8031 MB / 1.427 GB, free: 8.539 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/2.529, allocations: 397.8 kB / 1.428 GB, free: 8.145 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01321/2.542, allocations: 2.837 MB / 1.431 GB, free: 5.066 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0024/2.544, allocations: 0.4897 MB / 1.431 GB, free: 4.551 MB / 1.092 GB Notification: Performance of pre-optimization done (n=69): time 6.532e-06/2.545, allocations: 0 / 1.431 GB, free: 4.551 MB / 1.092 GB Notification: Performance of matching and sorting (n=83): time 0.09137/2.636, allocations: 18.98 MB / 1.45 GB, free: 1.492 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/2.636, allocations: 162.9 kB / 1.45 GB, free: 1.297 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007058/2.643, allocations: 2.029 MB / 1.452 GB, free: 15.23 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003761/2.644, allocations: 45.69 kB / 1.452 GB, free: 15.18 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001857/2.646, allocations: 0.8787 MB / 1.453 GB, free: 14.29 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008011/2.646, allocations: 313.4 kB / 1.453 GB, free: 13.98 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/2.648, allocations: 339.4 kB / 1.453 GB, free: 13.64 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002141/2.648, allocations: 305.1 kB / 1.453 GB, free: 13.34 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002644/2.651, allocations: 0.6481 MB / 1.454 GB, free: 12.7 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003371/2.654, allocations: 1.069 MB / 1.455 GB, free: 11.46 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005707/2.66, allocations: 1.629 MB / 1.457 GB, free: 9.691 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.89e-05/2.66, allocations: 4 kB / 1.457 GB, free: 9.688 MB / 1.123 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.009725/2.67, allocations: 2.129 MB / 1.459 GB, free: 7.543 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/2.67, allocations: 8 kB / 1.459 GB, free: 7.535 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.955e-05/2.67, allocations: 15.94 kB / 1.459 GB, free: 7.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/2.671, allocations: 217.6 kB / 1.459 GB, free: 7.301 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/2.674, allocations: 319.5 kB / 1.459 GB, free: 6.988 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009489/2.683, allocations: 4.165 MB / 1.463 GB, free: 2.547 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/2.687, allocations: 116 kB / 1.464 GB, free: 2.434 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004885/2.688, allocations: 63.98 kB / 1.464 GB, free: 2.371 MB / 1.123 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.002377/2.69, allocations: 0.564 MB / 1.464 GB, free: 1.801 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001588/2.692, allocations: 206.6 kB / 1.464 GB, free: 1.598 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007538/2.699, allocations: 1.49 MB / 1.466 GB, free: 136 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-05/2.699, allocations: 12 kB / 1.466 GB, free: 124 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/2.699, allocations: 0 / 1.466 GB, free: 124 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006102/2.705, allocations: 1.265 MB / 1.467 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04759/2.753, allocations: 9.324 MB / 1.476 GB, free: 5.113 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/2.753, allocations: 12.03 kB / 1.476 GB, free: 5.102 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/2.755, allocations: 179.7 kB / 1.476 GB, free: 4.926 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009993/2.756, allocations: 152.7 kB / 1.477 GB, free: 4.773 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001861/2.756, allocations: 31.98 kB / 1.477 GB, free: 4.742 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006031/2.762, allocations: 2.386 MB / 1.479 GB, free: 2.219 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.597e-05/2.762, allocations: 4 kB / 1.479 GB, free: 2.215 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00866/2.771, allocations: 1.909 MB / 1.481 GB, free: 220 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/2.773, allocations: 415.8 kB / 1.481 GB, free: 15.79 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009626/2.774, allocations: 27.98 kB / 1.481 GB, free: 15.76 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/2.777, allocations: 79.92 kB / 1.481 GB, free: 15.68 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/2.777, allocations: 84.16 kB / 1.481 GB, free: 15.6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/2.777, allocations: 35.92 kB / 1.481 GB, free: 15.57 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.005782/2.783, allocations: 1.402 MB / 1.483 GB, free: 14.14 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.293e-06/2.783, allocations: 0 / 1.483 GB, free: 14.14 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.01057/2.794, allocations: 1.401 MB / 1.484 GB, free: 12.74 MB / 1.154 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.0243/2.818, allocations: 3.685 MB / 1.488 GB, free: 9.133 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007747/2.826, allocations: 1.657 MB / 1.489 GB, free: 7.453 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/2.826, allocations: 4.062 kB / 1.489 GB, free: 7.449 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003198/2.829, allocations: 0.6394 MB / 1.49 GB, free: 6.797 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009619/2.839, allocations: 0.9602 MB / 1.491 GB, free: 5.863 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06142/2.9, allocations: 15.89 MB / 1.506 GB, free: 5.32 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004199/2.905, allocations: 1.506 MB / 1.508 GB, free: 3.785 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.003807/2.908, allocations: 409.9 kB / 1.508 GB, free: 3.398 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002959/2.911, allocations: 0.7843 MB / 1.509 GB, free: 2.613 MB / 1.17 GB Notification: Performance of SimCode: time 1.613e-06/2.912, allocations: 0 / 1.509 GB, free: 2.613 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3321/3.244, allocations: 88.23 MB / 1.595 GB, free: 11.16 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.64/33.89, allocations: 11.84 kB / 1.595 GB, free: 11.15 MB / 1.264 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.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_10_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches