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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001759/0.001759, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.426/1.426, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 469.4 MB / 0.742 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 59.69 kB / 0.9083 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2605, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.218/3.479, allocations: 1.369 GB / 2.433 GB, free: 77.39 MB / 1.561 GB Notification: Performance of NFInst.instExpressions: time 0.3237/3.803, allocations: 333.9 MB / 2.759 GB, free: 10.4 MB / 1.561 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04046/3.843, allocations: 1.217 MB / 2.76 GB, free: 9.641 MB / 1.561 GB Notification: Performance of NFTyping.typeComponents: time 0.03082/3.874, allocations: 13.25 MB / 2.773 GB, free: 13.34 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.08703/3.961, allocations: 32.24 MB / 2.805 GB, free: 1.637 MB / 1.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.04687/4.008, allocations: 19.63 MB / 2.824 GB, free: 15.98 MB / 1.623 GB Notification: Performance of NFFlatten.flatten: time 0.07091/4.079, allocations: 58.16 MB / 2.881 GB, free: 6.496 MB / 1.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03458/4.114, allocations: 23.35 MB / 2.904 GB, free: 14.97 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04951/4.163, allocations: 24.89 MB / 2.928 GB, free: 6.031 MB / 1.717 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03083/4.194, allocations: 17.73 MB / 2.945 GB, free: 4.203 MB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.005376/4.199, allocations: 2.129 MB / 2.947 GB, free: 2.074 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04079/4.24, allocations: 17.82 MB / 2.965 GB, free: 240 kB / 1.748 GB Notification: Performance of NFScalarize.scalarize: time 0.008233/4.248, allocations: 4.879 MB / 2.969 GB, free: 11.34 MB / 1.764 GB Notification: Performance of NFVerifyModel.verify: time 0.0198/4.268, allocations: 11.17 MB / 2.98 GB, free: 120 kB / 1.764 GB Notification: Performance of NFConvertDAE.convert: time 0.05986/4.328, allocations: 40.54 MB / 3.02 GB, free: 7.469 MB / 1.811 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/4.328, allocations: 0 / 3.02 GB, free: 7.469 MB / 1.811 GB Notification: Performance of FrontEnd: time 3.437e-06/4.328, allocations: 4 kB / 3.02 GB, free: 7.465 MB / 1.811 GB Notification: Performance of Transformations before backend: time 0.0008452/4.329, allocations: 4 kB / 3.02 GB, free: 7.461 MB / 1.811 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.04246/4.372, allocations: 20.92 MB / 3.04 GB, free: 2.289 MB / 1.826 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/4.372, allocations: 8.031 kB / 3.04 GB, free: 2.281 MB / 1.826 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003575/4.375, allocations: 1.638 MB / 3.042 GB, free: 0.6328 MB / 1.826 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4885/4.864, allocations: 2.245 MB / 3.044 GB, free: 0.941 GB / 1.826 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03152/4.895, allocations: 17.66 MB / 3.061 GB, free: 0.9361 GB / 1.826 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009615/4.896, allocations: 0.9774 MB / 3.062 GB, free: 0.9357 GB / 1.826 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003577/4.9, allocations: 1.286 MB / 3.064 GB, free: 0.9353 GB / 1.826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02697/4.927, allocations: 14.62 MB / 3.078 GB, free: 0.9282 GB / 1.826 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002361/4.927, allocations: 41.28 kB / 3.078 GB, free: 0.9282 GB / 1.826 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00111/4.928, allocations: 0.541 MB / 3.078 GB, free: 0.9278 GB / 1.826 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003043/4.929, allocations: 347.5 kB / 3.079 GB, free: 0.9278 GB / 1.826 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/4.946, allocations: 10.1 MB / 3.089 GB, free: 0.9239 GB / 1.826 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.07149/5.018, allocations: 77.09 MB / 3.164 GB, free: 0.8592 GB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006753/5.024, allocations: 4.575 MB / 3.168 GB, free: 0.8566 GB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002733/5.027, allocations: 2.44 MB / 3.171 GB, free: 0.8553 GB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07594/5.103, allocations: 51.49 MB / 3.221 GB, free: 0.8122 GB / 1.826 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/5.103, allocations: 121 kB / 3.221 GB, free: 0.8121 GB / 1.826 GB Notification: Performance of pre-optimization done (n=412): time 9.257e-06/5.103, allocations: 0 / 3.221 GB, free: 0.8121 GB / 1.826 GB Notification: Performance of matching and sorting (n=412): time 0.01359/5.117, allocations: 7.007 MB / 3.228 GB, free: 0.8068 GB / 1.826 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/5.117, allocations: 0.7934 MB / 3.229 GB, free: 0.8058 GB / 1.826 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02322/5.14, allocations: 16.68 MB / 3.245 GB, free: 0.7897 GB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.0007469/5.141, allocations: 137.7 kB / 3.245 GB, free: 0.7895 GB / 1.826 GB Notification: Performance of collectInitialEqns (initialization): time 0.005332/5.146, allocations: 8.694 MB / 3.254 GB, free: 0.781 GB / 1.826 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/5.148, allocations: 1.466 MB / 3.255 GB, free: 0.7796 GB / 1.826 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/5.149, allocations: 1.487 MB / 3.257 GB, free: 0.7781 GB / 1.826 GB Notification: Performance of setup shared object (initialization): time 3.773e-05/5.149, allocations: 301.1 kB / 3.257 GB, free: 0.7778 GB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002587/5.152, allocations: 2.09 MB / 3.259 GB, free: 0.7758 GB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004266/5.156, allocations: 5.281 MB / 3.264 GB, free: 0.7694 GB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006149/5.162, allocations: 7.131 MB / 3.271 GB, free: 0.7614 GB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-05/5.162, allocations: 27.56 kB / 3.271 GB, free: 0.7614 GB / 1.826 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01221/5.174, allocations: 8.361 MB / 3.279 GB, free: 0.7533 GB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/5.175, allocations: 40 kB / 3.279 GB, free: 0.7532 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.744e-05/5.175, allocations: 84 kB / 3.279 GB, free: 0.7531 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.153e-05/5.175, allocations: 120.8 kB / 3.279 GB, free: 0.753 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003807/5.179, allocations: 1.455 MB / 3.281 GB, free: 0.7516 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.088e-05/5.179, allocations: 171.4 kB / 3.281 GB, free: 0.7514 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008917/5.188, allocations: 1.341 MB / 3.282 GB, free: 0.7501 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004646/5.188, allocations: 395.9 kB / 3.283 GB, free: 0.7497 GB / 1.826 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.005182/5.193, allocations: 3.561 MB / 3.286 GB, free: 0.7462 GB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003064/5.196, allocations: 1.663 MB / 3.288 GB, free: 0.7446 GB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009623/5.206, allocations: 7.571 MB / 3.295 GB, free: 0.7373 GB / 1.826 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-05/5.206, allocations: 83.94 kB / 3.295 GB, free: 0.7372 GB / 1.826 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/5.206, allocations: 8 kB / 3.295 GB, free: 0.7372 GB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00311/5.209, allocations: 3.842 MB / 3.299 GB, free: 0.7332 GB / 1.826 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02993/5.239, allocations: 28.78 MB / 3.327 GB, free: 0.7047 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-05/5.239, allocations: 35.94 kB / 3.327 GB, free: 0.7047 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002423/5.242, allocations: 0.7723 MB / 3.328 GB, free: 0.7039 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.551e-05/5.242, allocations: 51.84 kB / 3.328 GB, free: 0.7039 GB / 1.826 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002274/5.242, allocations: 155.9 kB / 3.328 GB, free: 0.7037 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.431e-05/5.242, allocations: 71.73 kB / 3.328 GB, free: 0.7036 GB / 1.826 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.952e-05/5.242, allocations: 51.33 kB / 3.328 GB, free: 0.7036 GB / 1.826 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/5.254, allocations: 11.95 MB / 3.34 GB, free: 0.6913 GB / 1.826 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004979/5.259, allocations: 2.844 MB / 3.343 GB, free: 0.6885 GB / 1.826 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001956/5.261, allocations: 159.5 kB / 3.343 GB, free: 0.6884 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005744/5.267, allocations: 247.4 kB / 3.343 GB, free: 0.6881 GB / 1.826 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003893/5.267, allocations: 402.7 kB / 3.343 GB, free: 0.6878 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000344/5.268, allocations: 259.8 kB / 3.344 GB, free: 0.6875 GB / 1.826 GB Notification: Performance of sorting global known variables: time 0.01449/5.282, allocations: 11.85 MB / 3.355 GB, free: 0.676 GB / 1.826 GB Notification: Performance of sort global known variables: time 2.4e-07/5.282, allocations: 0 / 3.355 GB, free: 0.676 GB / 1.826 GB Notification: Performance of remove unused functions: time 0.01402/5.296, allocations: 5.357 MB / 3.361 GB, free: 0.6711 GB / 1.826 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.02066/5.317, allocations: 16.79 MB / 3.377 GB, free: 0.6545 GB / 1.826 GB Notification: Performance of simCode: created initialization part: time 0.008583/5.325, allocations: 5.94 MB / 3.383 GB, free: 0.6487 GB / 1.826 GB Notification: Performance of simCode: created event and clocks part: time 2.642e-05/5.325, allocations: 4 kB / 3.383 GB, free: 0.6487 GB / 1.826 GB Notification: Performance of simCode: created simulation system equations: time 0.002999/5.328, allocations: 2.594 MB / 3.385 GB, free: 0.6462 GB / 1.826 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04719/5.376, allocations: 10.07 MB / 3.395 GB, free: 0.6372 GB / 1.826 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1996/5.575, allocations: 276.4 MB / 3.665 GB, free: 355.3 MB / 1.826 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005833/5.581, allocations: 7.779 MB / 3.673 GB, free: 347.5 MB / 1.826 GB Notification: Performance of simCode: alias equations: time 0.0135/5.595, allocations: 3.245 MB / 3.676 GB, free: 344.4 MB / 1.826 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01026/5.605, allocations: 8.056 MB / 3.684 GB, free: 336.3 MB / 1.826 GB Notification: Performance of SimCode: time 7.01e-07/5.605, allocations: 0 / 3.684 GB, free: 336.3 MB / 1.826 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.645/7.25, allocations: 0.4931 GB / 4.177 GB, free: 0.8267 GB / 1.826 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.91/30.16, allocations: 9.703 kB / 4.177 GB, free: 0.8267 GB / 1.826 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