Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",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.004828/0.004828, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001193/0.001193, allocations: 206.3 kB / 16.68 MB, free: 5.973 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 2.397/2.397, allocations: 437.1 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2928, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.719/4.012, allocations: 1.37 GB / 2.536 GB, free: 87.5 MB / 1.701 GB Notification: Performance of NFInst.instExpressions: time 0.3672/4.38, allocations: 334.1 MB / 2.862 GB, free: 39.94 MB / 1.701 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06314/4.443, allocations: 1.22 MB / 2.863 GB, free: 39.18 MB / 1.701 GB Notification: Performance of NFTyping.typeComponents: time 0.04021/4.483, allocations: 13.5 MB / 2.877 GB, free: 28.8 MB / 1.701 GB Notification: Performance of NFTyping.typeBindings: time 0.1026/4.586, allocations: 33.89 MB / 2.91 GB, free: 15.44 MB / 1.717 GB Notification: Performance of NFTyping.typeClassSections: time 0.05931/4.645, allocations: 19.85 MB / 2.929 GB, free: 13.59 MB / 1.732 GB Notification: Performance of NFFlatten.flatten: time 0.09083/4.736, allocations: 58.31 MB / 2.986 GB, free: 4.82 MB / 1.779 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04732/4.783, allocations: 23.37 MB / 3.009 GB, free: 13.56 MB / 1.811 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0696/4.853, allocations: 25.66 MB / 3.034 GB, free: 5.348 MB / 1.826 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03976/4.893, allocations: 17.76 MB / 3.051 GB, free: 4.758 MB / 1.842 GB Notification: Performance of NFPackage.collectConstants: time 0.01052/4.903, allocations: 2.133 MB / 3.053 GB, free: 2.625 MB / 1.842 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05347/4.957, allocations: 17.98 MB / 3.071 GB, free: 1.352 MB / 1.857 GB Notification: Performance of NFScalarize.scalarize: time 0.01051/4.967, allocations: 4.884 MB / 3.076 GB, free: 12.52 MB / 1.873 GB Notification: Performance of NFVerifyModel.verify: time 0.02841/4.996, allocations: 11.16 MB / 3.087 GB, free: 1.379 MB / 1.873 GB Notification: Performance of NFConvertDAE.convert: time 0.0867/5.082, allocations: 42.28 MB / 3.128 GB, free: 8.367 MB / 1.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/5.083, allocations: 0 / 3.128 GB, free: 8.367 MB / 1.92 GB Notification: Performance of FrontEnd: time 1.883e-06/5.083, allocations: 0 / 3.128 GB, free: 8.367 MB / 1.92 GB Notification: Performance of Transformations before backend: time 0.0012/5.084, allocations: 4 kB / 3.128 GB, free: 8.363 MB / 1.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.05249/5.136, allocations: 21.58 MB / 3.149 GB, free: 2.816 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/5.136, allocations: 12.03 kB / 3.149 GB, free: 2.805 MB / 1.936 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003916/5.14, allocations: 1.638 MB / 3.151 GB, free: 1.156 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007951/5.148, allocations: 2.363 MB / 3.153 GB, free: 14.78 MB / 1.951 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03811/5.186, allocations: 19.07 MB / 3.171 GB, free: 12.03 MB / 1.967 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008378/5.187, allocations: 0.97 MB / 3.172 GB, free: 11.05 MB / 1.967 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003358/5.191, allocations: 1.284 MB / 3.174 GB, free: 9.773 MB / 1.967 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02887/5.219, allocations: 14.61 MB / 3.188 GB, free: 10.41 MB / 1.982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002581/5.22, allocations: 47.56 kB / 3.188 GB, free: 10.36 MB / 1.982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00128/5.221, allocations: 0.5335 MB / 3.189 GB, free: 9.832 MB / 1.982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002843/5.221, allocations: 347.9 kB / 3.189 GB, free: 9.492 MB / 1.982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/5.24, allocations: 10.1 MB / 3.199 GB, free: 15.43 MB / 1.998 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.7485/5.988, allocations: 76.73 MB / 3.274 GB, free: 0.9528 GB / 1.998 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008293/5.996, allocations: 4.569 MB / 3.278 GB, free: 0.9507 GB / 1.998 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003674/6, allocations: 2.434 MB / 3.281 GB, free: 0.9496 GB / 1.998 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08392/6.084, allocations: 51.68 MB / 3.331 GB, free: 0.9119 GB / 1.998 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/6.084, allocations: 124.2 kB / 3.331 GB, free: 0.9118 GB / 1.998 GB Notification: Performance of pre-optimization done (n=412): time 9.909e-06/6.084, allocations: 0 / 3.331 GB, free: 0.9118 GB / 1.998 GB Notification: Performance of matching and sorting (n=412): time 0.01582/6.1, allocations: 7.087 MB / 3.338 GB, free: 0.9083 GB / 1.998 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002004/6.1, allocations: 0.7914 MB / 3.339 GB, free: 0.9074 GB / 1.998 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0262/6.127, allocations: 16.68 MB / 3.355 GB, free: 0.8991 GB / 1.998 GB Notification: Performance of collectPreVariables (initialization): time 0.001489/6.128, allocations: 147.5 kB / 3.355 GB, free: 0.899 GB / 1.998 GB Notification: Performance of collectInitialEqns (initialization): time 0.007491/6.136, allocations: 8.682 MB / 3.364 GB, free: 0.892 GB / 1.998 GB Notification: Performance of collectInitialBindings (initialization): time 0.002156/6.138, allocations: 1.534 MB / 3.365 GB, free: 0.8908 GB / 1.998 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003876/6.142, allocations: 1.495 MB / 3.367 GB, free: 0.89 GB / 1.998 GB Notification: Performance of setup shared object (initialization): time 5.101e-05/6.142, allocations: 301.1 kB / 3.367 GB, free: 0.8897 GB / 1.998 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002852/6.145, allocations: 2.084 MB / 3.369 GB, free: 0.8886 GB / 1.998 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00487/6.15, allocations: 5.283 MB / 3.374 GB, free: 0.8837 GB / 1.998 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006906/6.156, allocations: 7.143 MB / 3.381 GB, free: 0.8782 GB / 1.998 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.16e-05/6.156, allocations: 23.75 kB / 3.381 GB, free: 0.8782 GB / 1.998 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01544/6.172, allocations: 8.445 MB / 3.389 GB, free: 0.8741 GB / 1.998 GB Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/6.172, allocations: 39.53 kB / 3.389 GB, free: 0.8741 GB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/6.172, allocations: 82.94 kB / 3.389 GB, free: 0.8741 GB / 1.998 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/6.172, allocations: 122.3 kB / 3.39 GB, free: 0.8741 GB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004612/6.177, allocations: 1.457 MB / 3.391 GB, free: 0.8737 GB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001531/6.177, allocations: 174 kB / 3.391 GB, free: 0.8737 GB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01521/6.192, allocations: 1.358 MB / 3.393 GB, free: 0.8727 GB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001766/6.194, allocations: 387.8 kB / 3.393 GB, free: 0.8727 GB / 1.998 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 367 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (847): * Single equations (assignments): 847 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009325/6.203, allocations: 3.569 MB / 3.396 GB, free: 0.8704 GB / 1.998 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006212/6.21, allocations: 1.751 MB / 3.398 GB, free: 0.8695 GB / 1.998 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/6.225, allocations: 7.579 MB / 3.405 GB, free: 0.8656 GB / 1.998 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001999/6.225, allocations: 75.98 kB / 3.406 GB, free: 0.8656 GB / 1.998 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.007e-05/6.226, allocations: 10.8 kB / 3.406 GB, free: 0.8656 GB / 1.998 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003943/6.23, allocations: 3.842 MB / 3.409 GB, free: 0.8627 GB / 1.998 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0505/6.28, allocations: 28.84 MB / 3.437 GB, free: 0.8391 GB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001398/6.28, allocations: 32 kB / 3.438 GB, free: 0.8391 GB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002795/6.283, allocations: 0.7684 MB / 3.438 GB, free: 0.8384 GB / 1.998 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.419e-05/6.283, allocations: 52 kB / 3.438 GB, free: 0.8383 GB / 1.998 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006383/6.284, allocations: 159.9 kB / 3.438 GB, free: 0.8382 GB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.717e-05/6.284, allocations: 75.78 kB / 3.439 GB, free: 0.8381 GB / 1.998 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.961e-05/6.284, allocations: 47.75 kB / 3.439 GB, free: 0.838 GB / 1.998 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/6.3, allocations: 12.04 MB / 3.45 GB, free: 0.8257 GB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008144/6.309, allocations: 2.948 MB / 3.453 GB, free: 0.8228 GB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004897/6.313, allocations: 163.6 kB / 3.453 GB, free: 0.8227 GB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009727/6.323, allocations: 255 kB / 3.454 GB, free: 0.8224 GB / 1.998 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006272/6.324, allocations: 402.7 kB / 3.454 GB, free: 0.822 GB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007768/6.325, allocations: 263.8 kB / 3.454 GB, free: 0.8218 GB / 1.998 GB Notification: Performance of sorting global known variables: time 0.02479/6.349, allocations: 11.86 MB / 3.466 GB, free: 0.8103 GB / 1.998 GB Notification: Performance of sort global known variables: time 3.31e-07/6.349, allocations: 0 / 3.466 GB, free: 0.8103 GB / 1.998 GB Notification: Performance of remove unused functions: time 0.02008/6.37, allocations: 5.411 MB / 3.471 GB, free: 0.805 GB / 1.998 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03318/6.403, allocations: 17.02 MB / 3.488 GB, free: 0.7882 GB / 1.998 GB Notification: Performance of simCode: created initialization part: time 0.00972/6.413, allocations: 5.669 MB / 3.493 GB, free: 0.7827 GB / 1.998 GB Notification: Performance of simCode: created event and clocks part: time 4.391e-05/6.413, allocations: 12.81 kB / 3.493 GB, free: 0.7827 GB / 1.998 GB Notification: Performance of simCode: created simulation system equations: time 0.003825/6.416, allocations: 2.583 MB / 3.496 GB, free: 0.7802 GB / 1.998 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05291/6.469, allocations: 10.03 MB / 3.506 GB, free: 0.7709 GB / 1.998 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2159/6.685, allocations: 118.7 MB / 3.621 GB, free: 0.6505 GB / 1.998 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01297/6.698, allocations: 7.779 MB / 3.629 GB, free: 0.6429 GB / 1.998 GB Notification: Performance of simCode: alias equations: time 0.01551/6.714, allocations: 3.251 MB / 3.632 GB, free: 0.6399 GB / 1.998 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01191/6.726, allocations: 8.064 MB / 3.64 GB, free: 0.6321 GB / 1.998 GB Notification: Performance of SimCode: time 9.32e-07/6.726, allocations: 0 / 3.64 GB, free: 0.6321 GB / 1.998 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5964/7.322, allocations: 0.4978 GB / 4.138 GB, free: 139.9 MB / 1.998 GB Notification: Performance of buildModelFMU: Generate platform static: time 65.74/73.07, allocations: 11.81 kB / 4.138 GB, free: 139.8 MB / 1.998 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches