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.001286/0.001286, 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.00139/0.00139, 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.404/2.404, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.91 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5417/0.5429, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.162/3.705, allocations: 1.37 GB / 2.387 GB, free: 98.93 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3727/4.077, allocations: 334.1 MB / 2.713 GB, free: 41.15 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05935/4.137, allocations: 1.226 MB / 2.715 GB, free: 40.38 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.04059/4.177, allocations: 13.25 MB / 2.728 GB, free: 28.86 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.1042/4.282, allocations: 32.23 MB / 2.759 GB, free: 1.156 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.05665/4.338, allocations: 19.63 MB / 2.778 GB, free: 15.51 MB / 1.561 GB Notification: Performance of NFFlatten.flatten: time 0.08747/4.426, allocations: 58.16 MB / 2.835 GB, free: 6.891 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05394/4.48, allocations: 23.36 MB / 2.858 GB, free: 15.64 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06453/4.544, allocations: 24.88 MB / 2.882 GB, free: 8.199 MB / 1.654 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03781/4.582, allocations: 17.74 MB / 2.899 GB, free: 7.617 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.01038/4.593, allocations: 2.129 MB / 2.902 GB, free: 5.488 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04979/4.643, allocations: 17.81 MB / 2.919 GB, free: 4.379 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01041/4.653, allocations: 4.891 MB / 2.924 GB, free: 15.56 MB / 1.701 GB Notification: Performance of NFVerifyModel.verify: time 0.02627/4.679, allocations: 11.17 MB / 2.935 GB, free: 4.41 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 0.08008/4.759, allocations: 41.73 MB / 2.975 GB, free: 11.97 MB / 1.748 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/4.76, allocations: 0 / 2.975 GB, free: 11.97 MB / 1.748 GB Notification: Performance of FrontEnd: time 2.124e-06/4.76, allocations: 0 / 2.975 GB, free: 11.97 MB / 1.748 GB Notification: Performance of Transformations before backend: time 0.001284/4.761, allocations: 8 kB / 2.975 GB, free: 11.96 MB / 1.748 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.05754/4.818, allocations: 20.94 MB / 2.996 GB, free: 7.094 MB / 1.764 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/4.818, allocations: 8.031 kB / 2.996 GB, free: 7.086 MB / 1.764 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005119/4.824, allocations: 1.637 MB / 2.997 GB, free: 5.441 MB / 1.764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009197/4.833, allocations: 2.252 MB / 3 GB, free: 3.164 MB / 1.764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03596/4.869, allocations: 17.71 MB / 3.017 GB, free: 1.75 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001111/4.87, allocations: 0.9722 MB / 3.018 GB, free: 0.7773 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5959/5.466, allocations: 1.287 MB / 3.019 GB, free: 0.9351 GB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04019/5.506, allocations: 14.61 MB / 3.033 GB, free: 0.9287 GB / 1.779 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006348/5.507, allocations: 49.52 kB / 3.033 GB, free: 0.9287 GB / 1.779 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003243/5.51, allocations: 0.5348 MB / 3.034 GB, free: 0.9283 GB / 1.779 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005453/5.511, allocations: 346.7 kB / 3.034 GB, free: 0.9283 GB / 1.779 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/5.533, allocations: 10.1 MB / 3.044 GB, free: 0.9243 GB / 1.779 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.08483/5.618, allocations: 77.16 MB / 3.12 GB, free: 0.8634 GB / 1.779 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006597/5.624, allocations: 4.558 MB / 3.124 GB, free: 0.8608 GB / 1.779 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/5.628, allocations: 2.443 MB / 3.126 GB, free: 0.8595 GB / 1.779 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07522/5.703, allocations: 51.5 MB / 3.177 GB, free: 0.8164 GB / 1.779 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/5.703, allocations: 121.5 kB / 3.177 GB, free: 0.8163 GB / 1.779 GB Notification: Performance of pre-optimization done (n=412): time 6.703e-06/5.703, allocations: 0 / 3.177 GB, free: 0.8163 GB / 1.779 GB Notification: Performance of matching and sorting (n=412): time 0.01619/5.719, allocations: 7.007 MB / 3.184 GB, free: 0.8129 GB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/5.719, allocations: 0.7855 MB / 3.184 GB, free: 0.812 GB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03017/5.75, allocations: 16.68 MB / 3.201 GB, free: 0.796 GB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.001422/5.751, allocations: 141.7 kB / 3.201 GB, free: 0.7959 GB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.008393/5.759, allocations: 8.686 MB / 3.209 GB, free: 0.7874 GB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.002185/5.762, allocations: 1.462 MB / 3.211 GB, free: 0.7859 GB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002554/5.764, allocations: 1.487 MB / 3.212 GB, free: 0.7845 GB / 1.779 GB Notification: Performance of setup shared object (initialization): time 5.75e-05/5.764, allocations: 312.3 kB / 3.212 GB, free: 0.7842 GB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/5.767, allocations: 2.082 MB / 3.214 GB, free: 0.7821 GB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004672/5.772, allocations: 5.286 MB / 3.22 GB, free: 0.7757 GB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00715/5.779, allocations: 7.126 MB / 3.227 GB, free: 0.7678 GB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.07e-05/5.779, allocations: 23.94 kB / 3.227 GB, free: 0.7678 GB / 1.779 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01852/5.798, allocations: 8.372 MB / 3.235 GB, free: 0.7596 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/5.798, allocations: 40 kB / 3.235 GB, free: 0.7596 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.767e-05/5.798, allocations: 80 kB / 3.235 GB, free: 0.7595 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/5.798, allocations: 120.8 kB / 3.235 GB, free: 0.7594 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004369/5.802, allocations: 1.455 MB / 3.236 GB, free: 0.758 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001092/5.802, allocations: 171.4 kB / 3.237 GB, free: 0.7578 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01231/5.815, allocations: 1.344 MB / 3.238 GB, free: 0.7565 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001622/5.816, allocations: 391.9 kB / 3.238 GB, free: 0.7561 GB / 1.779 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.008027/5.824, allocations: 3.574 MB / 3.242 GB, free: 0.7526 GB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005212/5.83, allocations: 1.659 MB / 3.243 GB, free: 0.7509 GB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/5.842, allocations: 7.581 MB / 3.251 GB, free: 0.7437 GB / 1.779 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/5.842, allocations: 83.88 kB / 3.251 GB, free: 0.7436 GB / 1.779 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/5.842, allocations: 8 kB / 3.251 GB, free: 0.7436 GB / 1.779 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0032/5.846, allocations: 3.842 MB / 3.255 GB, free: 0.7396 GB / 1.779 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04086/5.887, allocations: 28.82 MB / 3.283 GB, free: 0.7111 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.283e-05/5.887, allocations: 32 kB / 3.283 GB, free: 0.711 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/5.889, allocations: 0.7761 MB / 3.284 GB, free: 0.7103 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.629e-05/5.889, allocations: 52 kB / 3.284 GB, free: 0.7102 GB / 1.779 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/5.889, allocations: 152 kB / 3.284 GB, free: 0.7101 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.33e-05/5.889, allocations: 67.78 kB / 3.284 GB, free: 0.71 GB / 1.779 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.669e-05/5.889, allocations: 47.81 kB / 3.284 GB, free: 0.71 GB / 1.779 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/5.903, allocations: 11.97 MB / 3.296 GB, free: 0.6977 GB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006662/5.909, allocations: 2.852 MB / 3.298 GB, free: 0.6949 GB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003833/5.913, allocations: 159.6 kB / 3.299 GB, free: 0.6947 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008419/5.922, allocations: 263 kB / 3.299 GB, free: 0.6945 GB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007062/5.922, allocations: 394.8 kB / 3.299 GB, free: 0.6941 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005055/5.923, allocations: 259.8 kB / 3.299 GB, free: 0.6939 GB / 1.779 GB Notification: Performance of sorting global known variables: time 0.01871/5.942, allocations: 11.86 MB / 3.311 GB, free: 0.6824 GB / 1.779 GB Notification: Performance of sort global known variables: time 1.172e-06/5.942, allocations: 3.938 kB / 3.311 GB, free: 0.6824 GB / 1.779 GB Notification: Performance of remove unused functions: time 0.01702/5.959, allocations: 5.359 MB / 3.316 GB, free: 0.6774 GB / 1.779 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.02285/5.982, allocations: 16.9 MB / 3.333 GB, free: 0.6608 GB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.009747/5.991, allocations: 5.949 MB / 3.339 GB, free: 0.655 GB / 1.779 GB Notification: Performance of simCode: created event and clocks part: time 4.172e-05/5.991, allocations: 11.84 kB / 3.339 GB, free: 0.655 GB / 1.779 GB Notification: Performance of simCode: created simulation system equations: time 0.003726/5.995, allocations: 2.583 MB / 3.341 GB, free: 0.6525 GB / 1.779 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04773/6.043, allocations: 10.09 MB / 3.351 GB, free: 0.6434 GB / 1.779 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2319/6.275, allocations: 276.4 MB / 3.621 GB, free: 361.6 MB / 1.779 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008203/6.283, allocations: 7.783 MB / 3.628 GB, free: 353.8 MB / 1.779 GB Notification: Performance of simCode: alias equations: time 0.01418/6.297, allocations: 3.257 MB / 3.632 GB, free: 350.7 MB / 1.779 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01039/6.308, allocations: 8.064 MB / 3.639 GB, free: 342.6 MB / 1.779 GB Notification: Performance of SimCode: time 1.232e-06/6.308, allocations: 0 / 3.639 GB, free: 342.6 MB / 1.779 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.723/8.03, allocations: 0.4964 GB / 4.136 GB, free: 0.819 GB / 1.779 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.13/29.16, allocations: 10.09 kB / 4.136 GB, free: 0.819 GB / 1.779 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