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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002142/0.002142, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.699/2.699, allocations: 476.7 MB / 0.7678 GB, free: 9.496 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.91 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9264/0.9284, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.184/4.112, allocations: 1.384 GB / 2.663 GB, free: 116.9 MB / 1.779 GB Notification: Performance of NFInst.instExpressions: time 0.3769/4.489, allocations: 336.2 MB / 2.992 GB, free: 7.391 MB / 1.779 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05756/4.547, allocations: 1.681 MB / 2.993 GB, free: 5.695 MB / 1.779 GB Notification: Performance of NFTyping.typeComponents: time 0.04132/4.588, allocations: 13.66 MB / 3.007 GB, free: 7.949 MB / 1.795 GB Notification: Performance of NFTyping.typeBindings: time 0.1064/4.695, allocations: 33.91 MB / 3.04 GB, free: 5.922 MB / 1.826 GB Notification: Performance of NFTyping.typeClassSections: time 0.05438/4.749, allocations: 19.88 MB / 3.059 GB, free: 2.18 MB / 1.842 GB Notification: Performance of NFFlatten.flatten: time 0.08895/4.838, allocations: 57.84 MB / 3.116 GB, free: 8.176 MB / 1.904 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04912/4.887, allocations: 18.06 MB / 3.133 GB, free: 5.945 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06656/4.954, allocations: 25.92 MB / 3.159 GB, free: 11.96 MB / 1.951 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04021/4.994, allocations: 18.56 MB / 3.177 GB, free: 9.289 MB / 1.967 GB Notification: Performance of NFPackage.collectConstants: time 0.01052/5.004, allocations: 2.129 MB / 3.179 GB, free: 7.16 MB / 1.967 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05161/5.056, allocations: 18.54 MB / 3.197 GB, free: 4.598 MB / 1.982 GB Notification: Performance of NFScalarize.scalarize: time 0.011/5.067, allocations: 5.098 MB / 3.202 GB, free: 15.48 MB / 1.998 GB Notification: Performance of NFVerifyModel.verify: time 0.02924/5.096, allocations: 11.16 MB / 3.213 GB, free: 4.266 MB / 1.998 GB Notification: Performance of NFConvertDAE.convert: time 0.08906/5.185, allocations: 41.47 MB / 3.253 GB, free: 10.66 MB / 2.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/5.185, allocations: 0 / 3.253 GB, free: 10.66 MB / 2.045 GB Notification: Performance of FrontEnd: time 1.684e-06/5.185, allocations: 0 / 3.253 GB, free: 10.66 MB / 2.045 GB Notification: Performance of Transformations before backend: time 0.001203/5.186, allocations: 0 / 3.253 GB, free: 10.66 MB / 2.045 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.05713/5.244, allocations: 21.57 MB / 3.274 GB, free: 4.816 MB / 2.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/5.244, allocations: 12.03 kB / 3.274 GB, free: 4.805 MB / 2.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000384/5.244, allocations: 329.3 kB / 3.275 GB, free: 4.48 MB / 2.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005888/5.25, allocations: 1.638 MB / 3.276 GB, free: 2.832 MB / 2.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/5.26, allocations: 2.357 MB / 3.279 GB, free: 472 kB / 2.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.267/6.527, allocations: 19.02 MB / 3.297 GB, free: 1.002 GB / 2.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001159/6.528, allocations: 0.9713 MB / 3.298 GB, free: 1.002 GB / 2.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004279/6.533, allocations: 1.29 MB / 3.299 GB, free: 1.002 GB / 2.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04251/6.575, allocations: 14.61 MB / 3.314 GB, free: 0.9949 GB / 2.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007188/6.576, allocations: 43.55 kB / 3.314 GB, free: 0.9949 GB / 2.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003522/6.58, allocations: 0.5389 MB / 3.314 GB, free: 0.9945 GB / 2.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005504/6.58, allocations: 344.2 kB / 3.315 GB, free: 0.9945 GB / 2.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02545/6.606, allocations: 10.1 MB / 3.324 GB, free: 0.9906 GB / 2.076 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/6.71, allocations: 76.67 MB / 3.399 GB, free: 0.9327 GB / 2.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007809/6.718, allocations: 4.353 MB / 3.404 GB, free: 0.9302 GB / 2.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003545/6.721, allocations: 2.307 MB / 3.406 GB, free: 0.9289 GB / 2.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08108/6.802, allocations: 56.07 MB / 3.461 GB, free: 0.8811 GB / 2.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/6.802, allocations: 120.6 kB / 3.461 GB, free: 0.881 GB / 2.076 GB Notification: Performance of pre-optimization done (n=412): time 1.85e-05/6.802, allocations: 0.875 kB / 3.461 GB, free: 0.881 GB / 2.076 GB Notification: Performance of matching and sorting (n=412): time 0.01742/6.82, allocations: 7.083 MB / 3.468 GB, free: 0.8775 GB / 2.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/6.82, allocations: 0.7917 MB / 3.468 GB, free: 0.8766 GB / 2.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03729/6.857, allocations: 16.68 MB / 3.485 GB, free: 0.8683 GB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.00129/6.859, allocations: 149.5 kB / 3.485 GB, free: 0.8682 GB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.01046/6.869, allocations: 8.687 MB / 3.493 GB, free: 0.8612 GB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002325/6.871, allocations: 1.533 MB / 3.495 GB, free: 0.8601 GB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004965/6.876, allocations: 1.493 MB / 3.496 GB, free: 0.8593 GB / 2.076 GB Notification: Performance of setup shared object (initialization): time 4.949e-05/6.876, allocations: 311.3 kB / 3.496 GB, free: 0.859 GB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004245/6.881, allocations: 2.082 MB / 3.499 GB, free: 0.8579 GB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008282/6.889, allocations: 5.282 MB / 3.504 GB, free: 0.853 GB / 2.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/6.901, allocations: 7.125 MB / 3.511 GB, free: 0.8453 GB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001429/6.901, allocations: 24 kB / 3.511 GB, free: 0.8452 GB / 2.076 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02638/6.927, allocations: 8.441 MB / 3.519 GB, free: 0.837 GB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/6.928, allocations: 40 kB / 3.519 GB, free: 0.837 GB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001991/6.928, allocations: 80 kB / 3.519 GB, free: 0.8369 GB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/6.928, allocations: 120.8 kB / 3.519 GB, free: 0.8368 GB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006546/6.935, allocations: 1.462 MB / 3.521 GB, free: 0.8354 GB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001917/6.935, allocations: 175.4 kB / 3.521 GB, free: 0.8352 GB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01288/6.948, allocations: 1.357 MB / 3.522 GB, free: 0.8342 GB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001714/6.949, allocations: 395.8 kB / 3.522 GB, free: 0.8338 GB / 2.076 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.009006/6.958, allocations: 3.565 MB / 3.526 GB, free: 0.8304 GB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006096/6.964, allocations: 1.75 MB / 3.528 GB, free: 0.8286 GB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/6.98, allocations: 7.56 MB / 3.535 GB, free: 0.8214 GB / 2.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000208/6.98, allocations: 79.94 kB / 3.535 GB, free: 0.8214 GB / 2.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.385e-05/6.98, allocations: 8 kB / 3.535 GB, free: 0.8214 GB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004216/6.984, allocations: 3.855 MB / 3.539 GB, free: 0.8173 GB / 2.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04911/7.033, allocations: 28.79 MB / 3.567 GB, free: 0.7889 GB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001388/7.033, allocations: 32 kB / 3.567 GB, free: 0.7889 GB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003032/7.036, allocations: 0.7763 MB / 3.568 GB, free: 0.7881 GB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.458e-05/7.036, allocations: 52 kB / 3.568 GB, free: 0.7881 GB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008022/7.037, allocations: 156 kB / 3.568 GB, free: 0.7879 GB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.551e-05/7.037, allocations: 79.72 kB / 3.568 GB, free: 0.7878 GB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.929e-05/7.037, allocations: 47.75 kB / 3.568 GB, free: 0.7878 GB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01859/7.056, allocations: 12.04 MB / 3.58 GB, free: 0.7755 GB / 2.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008305/7.064, allocations: 2.939 MB / 3.583 GB, free: 0.7727 GB / 2.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005376/7.07, allocations: 152.1 kB / 3.583 GB, free: 0.7725 GB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01042/7.08, allocations: 261.4 kB / 3.583 GB, free: 0.7723 GB / 2.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/7.081, allocations: 394.7 kB / 3.583 GB, free: 0.7719 GB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001146/7.082, allocations: 267.8 kB / 3.584 GB, free: 0.7716 GB / 2.076 GB Notification: Performance of sorting global known variables: time 0.02485/7.107, allocations: 11.85 MB / 3.595 GB, free: 0.7602 GB / 2.076 GB Notification: Performance of sort global known variables: time 1.81e-07/7.107, allocations: 0 / 3.595 GB, free: 0.7602 GB / 2.076 GB Notification: Performance of remove unused functions: time 0.0201/7.127, allocations: 5.427 MB / 3.601 GB, free: 0.7554 GB / 2.076 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.03012/7.157, allocations: 16.87 MB / 3.617 GB, free: 0.7389 GB / 2.076 GB Notification: Performance of simCode: created initialization part: time 0.009884/7.167, allocations: 5.456 MB / 3.622 GB, free: 0.7335 GB / 2.076 GB Notification: Performance of simCode: created event and clocks part: time 3.981e-05/7.167, allocations: 15.31 kB / 3.622 GB, free: 0.7335 GB / 2.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00406/7.171, allocations: 2.427 MB / 3.625 GB, free: 0.7312 GB / 2.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05711/7.228, allocations: 10.01 MB / 3.635 GB, free: 0.7219 GB / 2.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2399/7.468, allocations: 118.7 MB / 3.75 GB, free: 0.6015 GB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01381/7.482, allocations: 7.779 MB / 3.758 GB, free: 0.5939 GB / 2.076 GB Notification: Performance of simCode: alias equations: time 0.0165/7.499, allocations: 3.245 MB / 3.761 GB, free: 0.5908 GB / 2.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0132/7.512, allocations: 8.06 MB / 3.769 GB, free: 0.5829 GB / 2.076 GB Notification: Performance of SimCode: time 1.333e-06/7.512, allocations: 4 kB / 3.769 GB, free: 0.5829 GB / 2.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6126/8.124, allocations: 0.4965 GB / 4.266 GB, free: 90.56 MB / 2.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 70.57/78.69, allocations: 4 kB / 4.266 GB, free: 90.55 MB / 2.076 GB " [Timeout remaining time 221] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/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) [Timeout 300] "" [Timeout remaining time 298] Reference file matches [Calling sys.exit(0), Time elapsed: 90.29792683402775]