Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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 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.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_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.00825/0.00825, allocations: 101.2 kB / 15.73 MB, free: 6.027 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.002111/0.002111, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.687/2.687, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 63.91 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2976, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.649/3.947, allocations: 1.369 GB / 2.59 GB, free: 95.46 MB / 1.748 GB Notification: Performance of NFInst.instExpressions: time 0.355/4.302, allocations: 333.9 MB / 2.916 GB, free: 39.73 MB / 1.748 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04639/4.348, allocations: 1.223 MB / 2.917 GB, free: 38.96 MB / 1.748 GB Notification: Performance of NFTyping.typeComponents: time 0.03309/4.381, allocations: 13.26 MB / 2.93 GB, free: 27.81 MB / 1.748 GB Notification: Performance of NFTyping.typeBindings: time 0.08497/4.466, allocations: 32.23 MB / 2.961 GB, free: 116 kB / 1.748 GB Notification: Performance of NFTyping.typeClassSections: time 0.05419/4.521, allocations: 19.81 MB / 2.981 GB, free: 14.34 MB / 1.779 GB Notification: Performance of NFFlatten.flatten: time 0.0902/4.611, allocations: 58.21 MB / 3.037 GB, free: 5.684 MB / 1.826 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05119/4.662, allocations: 23.37 MB / 3.06 GB, free: 14.42 MB / 1.857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06209/4.724, allocations: 24.99 MB / 3.085 GB, free: 6.859 MB / 1.873 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03636/4.761, allocations: 17.76 MB / 3.102 GB, free: 6.262 MB / 1.889 GB Notification: Performance of NFPackage.collectConstants: time 0.009359/4.77, allocations: 2.129 MB / 3.104 GB, free: 4.133 MB / 1.889 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04901/4.819, allocations: 17.98 MB / 3.122 GB, free: 2.859 MB / 1.904 GB Notification: Performance of NFScalarize.scalarize: time 0.01008/4.829, allocations: 4.882 MB / 3.126 GB, free: 14.03 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02484/4.854, allocations: 11.17 MB / 3.137 GB, free: 2.883 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.08055/4.935, allocations: 41.08 MB / 3.177 GB, free: 11.07 MB / 1.967 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/4.935, allocations: 0 / 3.177 GB, free: 11.07 MB / 1.967 GB Notification: Performance of FrontEnd: time 1.804e-06/4.935, allocations: 0 / 3.177 GB, free: 11.07 MB / 1.967 GB Notification: Performance of Transformations before backend: time 0.001054/4.936, allocations: 0 / 3.177 GB, free: 11.07 MB / 1.967 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.0491/4.985, allocations: 21.57 MB / 3.199 GB, free: 5.535 MB / 1.982 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/4.985, allocations: 8.031 kB / 3.199 GB, free: 5.527 MB / 1.982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00431/4.989, allocations: 1.633 MB / 3.2 GB, free: 3.887 MB / 1.982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008633/4.998, allocations: 2.36 MB / 3.202 GB, free: 1.516 MB / 1.982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03633/5.034, allocations: 19.03 MB / 3.221 GB, free: 14.8 MB / 2.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009464/5.035, allocations: 0.9776 MB / 3.222 GB, free: 13.83 MB / 2.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0034/5.039, allocations: 1.285 MB / 3.223 GB, free: 12.54 MB / 2.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03311/5.072, allocations: 14.61 MB / 3.238 GB, free: 13.18 MB / 2.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003209/5.072, allocations: 55.56 kB / 3.238 GB, free: 13.12 MB / 2.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001751/5.074, allocations: 0.5312 MB / 3.238 GB, free: 12.59 MB / 2.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003096/5.074, allocations: 340 kB / 3.238 GB, free: 12.26 MB / 2.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02101/5.095, allocations: 10.1 MB / 3.248 GB, free: 2.203 MB / 2.029 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.6772/5.772, allocations: 76.66 MB / 3.323 GB, free: 0.9516 GB / 2.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007249/5.78, allocations: 4.567 MB / 3.328 GB, free: 0.9495 GB / 2.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003394/5.783, allocations: 2.438 MB / 3.33 GB, free: 0.9484 GB / 2.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07749/5.861, allocations: 51.67 MB / 3.38 GB, free: 0.9111 GB / 2.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/5.861, allocations: 121.8 kB / 3.381 GB, free: 0.911 GB / 2.045 GB Notification: Performance of pre-optimization done (n=412): time 7.084e-06/5.861, allocations: 0 / 3.381 GB, free: 0.911 GB / 2.045 GB Notification: Performance of matching and sorting (n=412): time 0.01681/5.878, allocations: 7.076 MB / 3.387 GB, free: 0.9081 GB / 2.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001961/5.878, allocations: 0.7935 MB / 3.388 GB, free: 0.9072 GB / 2.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02819/5.906, allocations: 16.69 MB / 3.405 GB, free: 0.9001 GB / 2.045 GB Notification: Performance of collectPreVariables (initialization): time 0.001128/5.907, allocations: 140.7 kB / 3.405 GB, free: 0.9 GB / 2.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.006509/5.914, allocations: 8.694 MB / 3.413 GB, free: 0.893 GB / 2.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001745/5.916, allocations: 1.529 MB / 3.415 GB, free: 0.8919 GB / 2.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0019/5.917, allocations: 1.495 MB / 3.416 GB, free: 0.8911 GB / 2.045 GB Notification: Performance of setup shared object (initialization): time 3.933e-05/5.917, allocations: 301.1 kB / 3.416 GB, free: 0.8908 GB / 2.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002678/5.92, allocations: 2.083 MB / 3.418 GB, free: 0.8897 GB / 2.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00455/5.925, allocations: 5.28 MB / 3.424 GB, free: 0.8848 GB / 2.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006923/5.932, allocations: 7.138 MB / 3.431 GB, free: 0.8793 GB / 2.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-05/5.932, allocations: 23.56 kB / 3.431 GB, free: 0.8793 GB / 2.045 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01626/5.948, allocations: 8.438 MB / 3.439 GB, free: 0.8752 GB / 2.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/5.948, allocations: 39.56 kB / 3.439 GB, free: 0.8752 GB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.239e-05/5.948, allocations: 79.22 kB / 3.439 GB, free: 0.8752 GB / 2.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/5.948, allocations: 126.4 kB / 3.439 GB, free: 0.8752 GB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004156/5.952, allocations: 1.456 MB / 3.44 GB, free: 0.8748 GB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001104/5.953, allocations: 173.9 kB / 3.441 GB, free: 0.8748 GB / 2.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01129/5.964, allocations: 1.366 MB / 3.442 GB, free: 0.8739 GB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/5.965, allocations: 392.1 kB / 3.442 GB, free: 0.8738 GB / 2.045 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.008167/5.974, allocations: 3.572 MB / 3.446 GB, free: 0.8715 GB / 2.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005251/5.979, allocations: 1.745 MB / 3.448 GB, free: 0.8706 GB / 2.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/5.993, allocations: 7.564 MB / 3.455 GB, free: 0.8666 GB / 2.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001675/5.993, allocations: 75.02 kB / 3.455 GB, free: 0.8666 GB / 2.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.05e-05/5.993, allocations: 7.938 kB / 3.455 GB, free: 0.8666 GB / 2.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003786/5.997, allocations: 3.848 MB / 3.459 GB, free: 0.8637 GB / 2.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05055/6.047, allocations: 28.8 MB / 3.487 GB, free: 0.8447 GB / 2.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001222/6.047, allocations: 33.34 kB / 3.487 GB, free: 0.8447 GB / 2.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/6.05, allocations: 0.7783 MB / 3.488 GB, free: 0.8446 GB / 2.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.849e-05/6.05, allocations: 51.22 kB / 3.488 GB, free: 0.8446 GB / 2.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005744/6.051, allocations: 156 kB / 3.488 GB, free: 0.8445 GB / 2.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.943e-05/6.051, allocations: 70.56 kB / 3.488 GB, free: 0.8445 GB / 2.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-05/6.051, allocations: 47.91 kB / 3.488 GB, free: 0.8445 GB / 2.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/6.066, allocations: 12.05 MB / 3.5 GB, free: 0.8344 GB / 2.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008327/6.074, allocations: 2.936 MB / 3.503 GB, free: 0.8315 GB / 2.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004378/6.079, allocations: 159.6 kB / 3.503 GB, free: 0.8314 GB / 2.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00876/6.088, allocations: 266.8 kB / 3.503 GB, free: 0.8311 GB / 2.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007418/6.088, allocations: 398.8 kB / 3.503 GB, free: 0.8307 GB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007879/6.089, allocations: 255.9 kB / 3.504 GB, free: 0.8305 GB / 2.045 GB Notification: Performance of sorting global known variables: time 0.02116/6.11, allocations: 11.86 MB / 3.515 GB, free: 0.819 GB / 2.045 GB Notification: Performance of sort global known variables: time 8.52e-07/6.11, allocations: 0 / 3.515 GB, free: 0.819 GB / 2.045 GB Notification: Performance of remove unused functions: time 0.01755/6.128, allocations: 5.399 MB / 3.521 GB, free: 0.8137 GB / 2.045 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.02593/6.154, allocations: 16.9 MB / 3.537 GB, free: 0.797 GB / 2.045 GB Notification: Performance of simCode: created initialization part: time 0.008403/6.162, allocations: 5.674 MB / 3.543 GB, free: 0.7915 GB / 2.045 GB Notification: Performance of simCode: created event and clocks part: time 3.293e-05/6.162, allocations: 15.56 kB / 3.543 GB, free: 0.7915 GB / 2.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003288/6.166, allocations: 2.585 MB / 3.545 GB, free: 0.789 GB / 2.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0489/6.215, allocations: 10.01 MB / 3.555 GB, free: 0.7797 GB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2106/6.425, allocations: 118.7 MB / 3.671 GB, free: 0.6593 GB / 2.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01033/6.436, allocations: 7.783 MB / 3.678 GB, free: 0.6517 GB / 2.045 GB Notification: Performance of simCode: alias equations: time 0.01187/6.448, allocations: 3.247 MB / 3.682 GB, free: 0.6487 GB / 2.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009508/6.457, allocations: 8.056 MB / 3.689 GB, free: 0.6408 GB / 2.045 GB Notification: Performance of SimCode: time 1.182e-06/6.457, allocations: 3.938 kB / 3.689 GB, free: 0.6408 GB / 2.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.598/7.055, allocations: 0.4945 GB / 4.184 GB, free: 151.9 MB / 2.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 63.41/70.47, allocations: 16 kB / 4.184 GB, free: 151.9 MB / 2.045 GB (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.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_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches