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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005262/0.005262, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.00125/0.00125, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.463/2.463, allocations: 469.4 MB / 0.7421 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 1.064 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7033/0.7048, allocations: 159.1 MB / 1.22 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.749/3.454, allocations: 1.369 GB / 2.589 GB, free: 52.76 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 0.4274/3.881, allocations: 333.9 MB / 2.915 GB, free: 6.762 MB / 1.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04515/3.926, allocations: 1.223 MB / 2.916 GB, free: 5.531 MB / 1.92 GB Notification: Performance of NFTyping.typeComponents: time 1.143/5.069, allocations: 13.49 MB / 2.93 GB, free: 18.64 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0867/5.156, allocations: 33.89 MB / 2.963 GB, free: 18.47 MB / 1.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.04723/5.203, allocations: 19.84 MB / 2.982 GB, free: 18.31 MB / 1.92 GB Notification: Performance of NFFlatten.flatten: time 0.08003/5.283, allocations: 58.31 MB / 3.039 GB, free: 18.03 MB / 1.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04596/5.329, allocations: 23.36 MB / 3.062 GB, free: 14.77 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05578/5.385, allocations: 25.68 MB / 3.087 GB, free: 13.91 MB / 1.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03414/5.419, allocations: 17.75 MB / 3.104 GB, free: 10.27 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.008604/5.428, allocations: 2.134 MB / 3.106 GB, free: 10.27 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04446/5.472, allocations: 17.97 MB / 3.124 GB, free: 10.19 MB / 1.92 GB Notification: Performance of NFScalarize.scalarize: time 0.009621/5.482, allocations: 4.888 MB / 3.129 GB, free: 9.449 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02492/5.507, allocations: 11.17 MB / 3.14 GB, free: 6.492 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.08999/5.597, allocations: 42.91 MB / 3.181 GB, free: 0 / 1.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/5.597, allocations: 8.031 kB / 3.181 GB, free: 15.99 MB / 1.936 GB Notification: Performance of FrontEnd: time 2.094e-06/5.597, allocations: 0 / 3.181 GB, free: 15.99 MB / 1.936 GB Notification: Performance of Transformations before backend: time 0.001185/5.598, allocations: 0 / 3.181 GB, free: 15.99 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.06298/5.661, allocations: 21.57 MB / 3.203 GB, free: 4.711 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/5.661, allocations: 12.52 kB / 3.203 GB, free: 4.707 MB / 1.936 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006309/5.668, allocations: 1.634 MB / 3.204 GB, free: 4.293 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/5.678, allocations: 2.357 MB / 3.206 GB, free: 3.102 MB / 1.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04178/5.72, allocations: 19.03 MB / 3.225 GB, free: 10.82 MB / 1.951 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001122/5.721, allocations: 0.9694 MB / 3.226 GB, free: 10.26 MB / 1.951 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004923/5.726, allocations: 1.306 MB / 3.227 GB, free: 9.375 MB / 1.951 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03906/5.765, allocations: 14.6 MB / 3.242 GB, free: 13.71 MB / 1.967 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003931/5.765, allocations: 39.5 kB / 3.242 GB, free: 13.69 MB / 1.967 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002885/5.768, allocations: 0.5412 MB / 3.242 GB, free: 13.16 MB / 1.967 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003318/5.769, allocations: 343.9 kB / 3.242 GB, free: 12.82 MB / 1.967 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02162/5.79, allocations: 10.1 MB / 3.252 GB, free: 2.961 MB / 1.967 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.1043/5.895, allocations: 76.66 MB / 3.327 GB, free: 3.598 MB / 2.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007623/5.902, allocations: 4.569 MB / 3.332 GB, free: 14.86 MB / 2.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003545/5.906, allocations: 2.438 MB / 3.334 GB, free: 12.35 MB / 2.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08854/5.995, allocations: 51.68 MB / 3.384 GB, free: 1.363 MB / 2.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/5.995, allocations: 121.5 kB / 3.385 GB, free: 1.25 MB / 2.107 GB Notification: Performance of pre-optimization done (n=412): time 6.472e-06/5.995, allocations: 3.562 kB / 3.385 GB, free: 1.25 MB / 2.107 GB Notification: Performance of matching and sorting (n=412): time 0.01743/6.012, allocations: 7.084 MB / 3.391 GB, free: 10.23 MB / 2.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003565/6.013, allocations: 0.7861 MB / 3.392 GB, free: 9.27 MB / 2.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03623/6.049, allocations: 16.68 MB / 3.409 GB, free: 8.684 MB / 2.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001399/6.05, allocations: 137.7 kB / 3.409 GB, free: 8.543 MB / 2.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.01107/6.061, allocations: 8.687 MB / 3.417 GB, free: 15.85 MB / 2.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.002454/6.064, allocations: 1.533 MB / 3.419 GB, free: 14.34 MB / 2.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002963/6.067, allocations: 1.492 MB / 3.42 GB, free: 12.84 MB / 2.154 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/6.067, allocations: 309.1 kB / 3.42 GB, free: 12.54 MB / 2.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003548/6.071, allocations: 2.085 MB / 3.422 GB, free: 10.45 MB / 2.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007768/6.078, allocations: 5.286 MB / 3.428 GB, free: 3.867 MB / 2.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009824/6.088, allocations: 7.125 MB / 3.435 GB, free: 11.98 MB / 2.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-05/6.088, allocations: 24 kB / 3.435 GB, free: 11.96 MB / 2.17 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01974/6.108, allocations: 8.453 MB / 3.443 GB, free: 3.988 MB / 2.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.493e-05/6.108, allocations: 42.34 kB / 3.443 GB, free: 3.949 MB / 2.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/6.108, allocations: 83.91 kB / 3.443 GB, free: 3.871 MB / 2.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001309/6.108, allocations: 120 kB / 3.443 GB, free: 3.754 MB / 2.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005776/6.114, allocations: 1.456 MB / 3.445 GB, free: 2.406 MB / 2.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002236/6.114, allocations: 170.1 kB / 3.445 GB, free: 2.273 MB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/6.13, allocations: 1.356 MB / 3.446 GB, free: 0.9141 MB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001937/6.132, allocations: 399.1 kB / 3.446 GB, free: 0.5273 MB / 2.17 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.009981/6.142, allocations: 3.566 MB / 3.45 GB, free: 13.05 MB / 2.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005955/6.147, allocations: 1.747 MB / 3.452 GB, free: 11.3 MB / 2.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/6.164, allocations: 7.551 MB / 3.459 GB, free: 3.93 MB / 2.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002068/6.164, allocations: 83.94 kB / 3.459 GB, free: 3.848 MB / 2.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.721e-05/6.164, allocations: 15.94 kB / 3.459 GB, free: 3.832 MB / 2.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004996/6.169, allocations: 3.849 MB / 3.463 GB, free: 15.68 MB / 2.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0576/6.227, allocations: 28.79 MB / 3.491 GB, free: 2.781 MB / 2.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.623e-05/6.227, allocations: 28.19 kB / 3.491 GB, free: 2.754 MB / 2.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/6.23, allocations: 0.7792 MB / 3.492 GB, free: 2.023 MB / 2.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.241e-05/6.23, allocations: 48 kB / 3.492 GB, free: 1.977 MB / 2.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003701/6.23, allocations: 152 kB / 3.492 GB, free: 1.828 MB / 2.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.469e-05/6.23, allocations: 73.38 kB / 3.492 GB, free: 1.77 MB / 2.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.014e-05/6.23, allocations: 57.14 kB / 3.492 GB, free: 1.727 MB / 2.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/6.25, allocations: 12.06 MB / 3.504 GB, free: 5.113 MB / 2.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01027/6.26, allocations: 2.928 MB / 3.507 GB, free: 2.152 MB / 2.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005667/6.266, allocations: 151.7 kB / 3.507 GB, free: 2.004 MB / 2.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01105/6.277, allocations: 258.9 kB / 3.507 GB, free: 1.754 MB / 2.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001146/6.278, allocations: 401.8 kB / 3.507 GB, free: 1.387 MB / 2.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007414/6.279, allocations: 259.9 kB / 3.508 GB, free: 1.133 MB / 2.232 GB Notification: Performance of sorting global known variables: time 0.03029/6.309, allocations: 11.86 MB / 3.519 GB, free: 5.379 MB / 2.248 GB Notification: Performance of sort global known variables: time 8.01e-07/6.309, allocations: 0 / 3.519 GB, free: 5.379 MB / 2.248 GB Notification: Performance of remove unused functions: time 0.02312/6.332, allocations: 5.407 MB / 3.525 GB, free: 15.96 MB / 2.264 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.03665/6.369, allocations: 16.9 MB / 3.541 GB, free: 14.98 MB / 2.279 GB Notification: Performance of simCode: created initialization part: time 0.01197/6.381, allocations: 5.681 MB / 3.547 GB, free: 9.621 MB / 2.279 GB Notification: Performance of simCode: created event and clocks part: time 4.045e-05/6.381, allocations: 8 kB / 3.547 GB, free: 9.613 MB / 2.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00494/6.386, allocations: 2.581 MB / 3.549 GB, free: 7.191 MB / 2.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05707/6.443, allocations: 9.999 MB / 3.559 GB, free: 13.49 MB / 2.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2825/6.725, allocations: 118.7 MB / 3.675 GB, free: 3.363 MB / 2.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01534/6.741, allocations: 7.786 MB / 3.682 GB, free: 11.53 MB / 2.42 GB Notification: Performance of simCode: alias equations: time 0.01586/6.757, allocations: 3.239 MB / 3.686 GB, free: 8.316 MB / 2.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01494/6.772, allocations: 8.059 MB / 3.693 GB, free: 264 kB / 2.42 GB Notification: Performance of SimCode: time 9.32e-07/6.772, allocations: 0 / 3.693 GB, free: 264 kB / 2.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.966/8.737, allocations: 0.4945 GB / 4.188 GB, free: 1.128 GB / 2.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 63.29/72.02, allocations: 7.984 kB / 4.188 GB, free: 1.128 GB / 2.514 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 50 --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