Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_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.004754/0.004754, allocations: 97.62 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.001286/0.001286, allocations: 195.2 kB / 16.67 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 1.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.72 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2903, allocations: 162.2 MB / 1.241 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.593/2.883, allocations: 1.371 GB / 2.613 GB, free: 6.504 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 1.409/4.291, allocations: 334 MB / 2.939 GB, free: 34.67 MB / 1.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03827/4.33, allocations: 1.223 MB / 2.94 GB, free: 34.67 MB / 1.92 GB Notification: Performance of NFTyping.typeComponents: time 0.03248/4.362, allocations: 13.25 MB / 2.953 GB, free: 34.66 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0771/4.439, allocations: 32.04 MB / 2.984 GB, free: 34.42 MB / 1.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.04227/4.482, allocations: 19.81 MB / 3.004 GB, free: 34.06 MB / 1.92 GB Notification: Performance of NFFlatten.flatten: time 0.07335/4.555, allocations: 58.08 MB / 3.06 GB, free: 33.74 MB / 1.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04547/4.601, allocations: 23.36 MB / 3.083 GB, free: 30.43 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05814/4.659, allocations: 27.45 MB / 3.11 GB, free: 28.68 MB / 1.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03227/4.691, allocations: 17.48 MB / 3.127 GB, free: 25.04 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00818/4.699, allocations: 2.132 MB / 3.129 GB, free: 25.04 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04344/4.743, allocations: 17.87 MB / 3.147 GB, free: 24.81 MB / 1.92 GB Notification: Performance of NFScalarize.scalarize: time 0.008975/4.752, allocations: 4.883 MB / 3.151 GB, free: 24.07 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02401/4.776, allocations: 11.19 MB / 3.162 GB, free: 20.94 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.07626/4.852, allocations: 41.15 MB / 3.202 GB, free: 15.86 MB / 1.936 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/4.852, allocations: 3.469 kB / 3.202 GB, free: 15.86 MB / 1.936 GB Notification: Performance of FrontEnd: time 1.533e-06/4.852, allocations: 0 / 3.202 GB, free: 15.86 MB / 1.936 GB Notification: Performance of Transformations before backend: time 0.001115/4.853, allocations: 0 / 3.202 GB, free: 15.86 MB / 1.936 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.05603/4.909, allocations: 21.56 MB / 3.224 GB, free: 14.18 MB / 1.951 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/4.909, allocations: 12.03 kB / 3.224 GB, free: 14.16 MB / 1.951 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005637/4.915, allocations: 1.636 MB / 3.225 GB, free: 13.32 MB / 1.951 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009694/4.925, allocations: 2.364 MB / 3.227 GB, free: 10.95 MB / 1.951 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0396/4.964, allocations: 19.04 MB / 3.246 GB, free: 10.53 MB / 1.967 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001083/4.965, allocations: 0.9828 MB / 3.247 GB, free: 9.551 MB / 1.967 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004358/4.97, allocations: 1.292 MB / 3.248 GB, free: 8.262 MB / 1.967 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0397/5.01, allocations: 14.61 MB / 3.263 GB, free: 9.004 MB / 1.982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004275/5.01, allocations: 44.98 kB / 3.263 GB, free: 8.984 MB / 1.982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002919/5.013, allocations: 0.5329 MB / 3.263 GB, free: 8.453 MB / 1.982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003581/5.013, allocations: 343 kB / 3.263 GB, free: 8.121 MB / 1.982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02271/5.036, allocations: 10.1 MB / 3.273 GB, free: 14.25 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.1006/5.137, allocations: 76.66 MB / 3.348 GB, free: 14.89 MB / 2.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007698/5.144, allocations: 4.564 MB / 3.353 GB, free: 10.15 MB / 2.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003606/5.148, allocations: 2.44 MB / 3.355 GB, free: 7.648 MB / 2.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09449/5.243, allocations: 51.67 MB / 3.405 GB, free: 12.66 MB / 2.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/5.243, allocations: 120.5 kB / 3.406 GB, free: 12.54 MB / 2.139 GB Notification: Performance of pre-optimization done (n=412): time 6.993e-06/5.243, allocations: 0 / 3.406 GB, free: 12.54 MB / 2.139 GB Notification: Performance of matching and sorting (n=412): time 0.01858/5.261, allocations: 7.074 MB / 3.413 GB, free: 5.52 MB / 2.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005112/5.262, allocations: 0.7904 MB / 3.413 GB, free: 4.559 MB / 2.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03949/5.301, allocations: 16.68 MB / 3.43 GB, free: 3.973 MB / 2.154 GB Notification: Performance of collectPreVariables (initialization): time 0.001281/5.303, allocations: 149.5 kB / 3.43 GB, free: 3.824 MB / 2.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.01238/5.315, allocations: 8.685 MB / 3.438 GB, free: 11.16 MB / 2.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.002632/5.318, allocations: 1.533 MB / 3.44 GB, free: 9.645 MB / 2.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003705/5.321, allocations: 1.496 MB / 3.441 GB, free: 8.141 MB / 2.17 GB Notification: Performance of setup shared object (initialization): time 0.0001237/5.322, allocations: 302.7 kB / 3.441 GB, free: 7.844 MB / 2.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003995/5.326, allocations: 2.086 MB / 3.443 GB, free: 5.754 MB / 2.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007928/5.334, allocations: 5.286 MB / 3.449 GB, free: 15.17 MB / 2.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/5.344, allocations: 7.137 MB / 3.456 GB, free: 7.285 MB / 2.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.413e-05/5.345, allocations: 27.94 kB / 3.456 GB, free: 7.258 MB / 2.186 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02085/5.365, allocations: 8.446 MB / 3.464 GB, free: 15.3 MB / 2.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/5.366, allocations: 40 kB / 3.464 GB, free: 15.26 MB / 2.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/5.366, allocations: 80 kB / 3.464 GB, free: 15.18 MB / 2.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/5.366, allocations: 120 kB / 3.464 GB, free: 15.06 MB / 2.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005369/5.371, allocations: 1.458 MB / 3.466 GB, free: 13.71 MB / 2.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001858/5.371, allocations: 166.4 kB / 3.466 GB, free: 13.59 MB / 2.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/5.383, allocations: 1.354 MB / 3.467 GB, free: 12.23 MB / 2.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/5.384, allocations: 387.9 kB / 3.467 GB, free: 11.85 MB / 2.201 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.008394/5.393, allocations: 3.582 MB / 3.471 GB, free: 8.363 MB / 2.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004962/5.398, allocations: 1.747 MB / 3.473 GB, free: 6.605 MB / 2.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/5.412, allocations: 7.557 MB / 3.48 GB, free: 15.23 MB / 2.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001269/5.413, allocations: 79.94 kB / 3.48 GB, free: 15.15 MB / 2.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-05/5.413, allocations: 11.94 kB / 3.48 GB, free: 15.14 MB / 2.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00467/5.417, allocations: 3.851 MB / 3.484 GB, free: 10.99 MB / 2.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05433/5.472, allocations: 28.79 MB / 3.512 GB, free: 14.09 MB / 2.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.164e-05/5.472, allocations: 32 kB / 3.512 GB, free: 14.05 MB / 2.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/5.475, allocations: 0.7805 MB / 3.513 GB, free: 13.32 MB / 2.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.224e-05/5.475, allocations: 52 kB / 3.513 GB, free: 13.27 MB / 2.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003652/5.475, allocations: 152 kB / 3.513 GB, free: 13.12 MB / 2.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.803e-05/5.475, allocations: 74.69 kB / 3.513 GB, free: 13.07 MB / 2.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.222e-05/5.475, allocations: 47.81 kB / 3.513 GB, free: 13.03 MB / 2.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01805/5.493, allocations: 12.06 MB / 3.525 GB, free: 432 kB / 2.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007542/5.501, allocations: 2.932 MB / 3.528 GB, free: 13.45 MB / 2.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003671/5.505, allocations: 155.7 kB / 3.528 GB, free: 13.3 MB / 2.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008297/5.513, allocations: 259.1 kB / 3.528 GB, free: 13.05 MB / 2.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007364/5.514, allocations: 401.7 kB / 3.528 GB, free: 12.69 MB / 2.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006768/5.514, allocations: 255.9 kB / 3.529 GB, free: 12.44 MB / 2.264 GB Notification: Performance of sorting global known variables: time 0.02368/5.538, allocations: 11.86 MB / 3.54 GB, free: 0.6797 MB / 2.264 GB Notification: Performance of sort global known variables: time 4.51e-07/5.538, allocations: 4 kB / 3.54 GB, free: 0.6758 MB / 2.264 GB Notification: Performance of remove unused functions: time 0.01852/5.557, allocations: 5.411 MB / 3.546 GB, free: 11.25 MB / 2.279 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.02974/5.586, allocations: 16.89 MB / 3.562 GB, free: 10.25 MB / 2.295 GB Notification: Performance of simCode: created initialization part: time 0.01078/5.597, allocations: 5.674 MB / 3.568 GB, free: 4.895 MB / 2.295 GB Notification: Performance of simCode: created event and clocks part: time 3.64e-05/5.597, allocations: 15.66 kB / 3.568 GB, free: 4.879 MB / 2.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004509/5.602, allocations: 2.577 MB / 3.57 GB, free: 2.465 MB / 2.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05191/5.654, allocations: 10.01 MB / 3.58 GB, free: 8.711 MB / 2.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2474/5.901, allocations: 118.7 MB / 3.696 GB, free: 14.12 MB / 2.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01469/5.916, allocations: 7.779 MB / 3.703 GB, free: 6.301 MB / 2.436 GB Notification: Performance of simCode: alias equations: time 0.01515/5.931, allocations: 3.24 MB / 3.707 GB, free: 3.078 MB / 2.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01498/5.946, allocations: 8.066 MB / 3.714 GB, free: 11.06 MB / 2.451 GB Notification: Performance of SimCode: time 1.262e-06/5.946, allocations: 4 kB / 3.714 GB, free: 11.05 MB / 2.451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.662/7.608, allocations: 0.4945 GB / 4.209 GB, free: 1.068 GB / 2.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 65.83/73.44, allocations: 11.44 kB / 4.209 GB, free: 1.068 GB / 2.498 GB (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches