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.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.001252/0.001252, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001407/0.001407, allocations: 218.5 kB / 23.03 MB, free: 4.945 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.353/1.353, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.055/3.055, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_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.001938/0.001938, allocations: 66.86 kB / 1.171 GB, free: 19.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3344, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.862/3.196, allocations: 1.26 GB / 2.605 GB, free: 122 MB / 1.748 GB Notification: Performance of NFInst.instExpressions: time 0.369/3.565, allocations: 312.1 MB / 2.91 GB, free: 6.352 MB / 1.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04925/3.615, allocations: 1.692 MB / 2.911 GB, free: 4.645 MB / 1.92 GB Notification: Performance of NFTyping.typeComponents: time 0.04038/3.655, allocations: 13.44 MB / 2.924 GB, free: 7.121 MB / 1.936 GB Notification: Performance of NFTyping.typeBindings: time 0.1008/3.756, allocations: 33.98 MB / 2.958 GB, free: 5.023 MB / 1.967 GB Notification: Performance of NFTyping.typeClassSections: time 0.05649/3.812, allocations: 20.42 MB / 2.978 GB, free: 0.7695 MB / 1.982 GB Notification: Performance of NFFlatten.flatten: time 0.08884/3.901, allocations: 58.66 MB / 3.035 GB, free: 5.938 MB / 2.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0439/3.945, allocations: 16.91 MB / 3.051 GB, free: 4.855 MB / 2.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.303/6.248, allocations: 29.04 MB / 3.08 GB, free: 55.45 MB / 2.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03818/6.286, allocations: 18.27 MB / 3.098 GB, free: 54.64 MB / 2.076 GB Notification: Performance of NFPackage.collectConstants: time 0.01026/6.296, allocations: 2.131 MB / 3.1 GB, free: 54.64 MB / 2.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04361/6.34, allocations: 15.92 MB / 3.115 GB, free: 54.64 MB / 2.076 GB Notification: Performance of NFScalarize.scalarize: time 0.01239/6.352, allocations: 5.098 MB / 3.12 GB, free: 54.64 MB / 2.076 GB Notification: Performance of NFVerifyModel.verify: time 0.02539/6.378, allocations: 8.73 MB / 3.129 GB, free: 53.54 MB / 2.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0707/6.448, allocations: 41.27 MB / 3.169 GB, free: 49.22 MB / 2.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/6.448, allocations: 2.125 kB / 3.169 GB, free: 49.22 MB / 2.076 GB Notification: Performance of FrontEnd: time 2.004e-06/6.448, allocations: 0.875 kB / 3.169 GB, free: 49.22 MB / 2.076 GB Notification: Performance of Transformations before backend: time 0.001141/6.45, allocations: 0 / 3.169 GB, free: 49.22 MB / 2.076 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.05585/6.505, allocations: 21.5 MB / 3.19 GB, free: 40.19 MB / 2.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/6.505, allocations: 14.12 kB / 3.19 GB, free: 40.18 MB / 2.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003163/6.506, allocations: 331.4 kB / 3.19 GB, free: 40.16 MB / 2.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00613/6.512, allocations: 1.638 MB / 3.192 GB, free: 40.04 MB / 2.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/6.522, allocations: 2.357 MB / 3.194 GB, free: 38.88 MB / 2.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04027/6.562, allocations: 18.9 MB / 3.213 GB, free: 35.66 MB / 2.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/6.563, allocations: 0.9731 MB / 3.214 GB, free: 35.64 MB / 2.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005334/6.569, allocations: 1.295 MB / 3.215 GB, free: 35.63 MB / 2.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03843/6.607, allocations: 17.06 MB / 3.232 GB, free: 30.31 MB / 2.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003998/6.608, allocations: 42.78 kB / 3.232 GB, free: 30.31 MB / 2.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002304/6.61, allocations: 0.5341 MB / 3.232 GB, free: 30.31 MB / 2.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003081/6.61, allocations: 345.6 kB / 3.232 GB, free: 30.31 MB / 2.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02001/6.63, allocations: 10.1 MB / 3.242 GB, free: 30.25 MB / 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.09415/6.724, allocations: 59.84 MB / 3.301 GB, free: 20.12 MB / 2.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006757/6.731, allocations: 4.347 MB / 3.305 GB, free: 19.45 MB / 2.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002956/6.734, allocations: 2.293 MB / 3.307 GB, free: 19.22 MB / 2.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06816/6.802, allocations: 22.9 MB / 3.33 GB, free: 17.67 MB / 2.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/6.802, allocations: 120.8 kB / 3.33 GB, free: 17.63 MB / 2.092 GB Notification: Performance of pre-optimization done (n=412): time 7.855e-06/6.802, allocations: 0 / 3.33 GB, free: 17.63 MB / 2.092 GB Notification: Performance of matching and sorting (n=412): time 0.01735/6.82, allocations: 7.088 MB / 3.337 GB, free: 16.58 MB / 2.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007696/6.821, allocations: 0.792 MB / 3.337 GB, free: 31.67 MB / 2.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03146/6.852, allocations: 16.75 MB / 3.354 GB, free: 30.64 MB / 2.108 GB Notification: Performance of collectPreVariables (initialization): time 0.001479/6.853, allocations: 142.7 kB / 3.354 GB, free: 30.61 MB / 2.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.008825/6.862, allocations: 8.699 MB / 3.362 GB, free: 28.64 MB / 2.108 GB Notification: Performance of collectInitialBindings (initialization): time 0.002248/6.865, allocations: 1.531 MB / 3.364 GB, free: 27.66 MB / 2.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002605/6.867, allocations: 1.499 MB / 3.365 GB, free: 27.54 MB / 2.108 GB Notification: Performance of setup shared object (initialization): time 0.0001428/6.867, allocations: 301.1 kB / 3.366 GB, free: 27.24 MB / 2.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003061/6.87, allocations: 2.091 MB / 3.368 GB, free: 27.23 MB / 2.108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007096/6.877, allocations: 9.603 MB / 3.377 GB, free: 18.38 MB / 2.108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007632/6.885, allocations: 7.141 MB / 3.384 GB, free: 15.37 MB / 2.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.077e-05/6.885, allocations: 24.25 kB / 3.384 GB, free: 15.37 MB / 2.108 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01633/6.901, allocations: 8.457 MB / 3.392 GB, free: 14.28 MB / 2.108 GB Notification: Performance of prepare postOptimizeDAE: time 6.784e-05/6.902, allocations: 42.88 kB / 3.392 GB, free: 14.28 MB / 2.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.282e-05/6.902, allocations: 78.5 kB / 3.392 GB, free: 14.28 MB / 2.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/6.902, allocations: 124.7 kB / 3.393 GB, free: 14.27 MB / 2.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/6.906, allocations: 1.456 MB / 3.394 GB, free: 14.27 MB / 2.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001154/6.906, allocations: 174.5 kB / 3.394 GB, free: 14.27 MB / 2.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/6.917, allocations: 1.359 MB / 3.395 GB, free: 13.51 MB / 2.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/6.919, allocations: 393.7 kB / 3.396 GB, free: 13.51 MB / 2.108 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.008397/6.927, allocations: 3.575 MB / 3.399 GB, free: 13.34 MB / 2.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005568/6.933, allocations: 1.755 MB / 3.401 GB, free: 12.38 MB / 2.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/6.947, allocations: 7.703 MB / 3.409 GB, free: 11.9 MB / 2.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001265/6.947, allocations: 86.59 kB / 3.409 GB, free: 11.89 MB / 2.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.591e-05/6.947, allocations: 6.75 kB / 3.409 GB, free: 11.89 MB / 2.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003686/6.951, allocations: 3.891 MB / 3.412 GB, free: 10.15 MB / 2.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04871/7, allocations: 27.03 MB / 3.439 GB, free: 6.055 MB / 2.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.465e-05/7, allocations: 32.31 kB / 3.439 GB, free: 6.055 MB / 2.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002721/7.003, allocations: 0.7767 MB / 3.44 GB, free: 6.055 MB / 2.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.112e-05/7.003, allocations: 53.34 kB / 3.44 GB, free: 6.051 MB / 2.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003393/7.003, allocations: 154.2 kB / 3.44 GB, free: 6.051 MB / 2.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.084e-05/7.003, allocations: 69.91 kB / 3.44 GB, free: 6.051 MB / 2.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.597e-05/7.003, allocations: 52.38 kB / 3.44 GB, free: 6.047 MB / 2.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01649/7.019, allocations: 12.22 MB / 3.452 GB, free: 1.691 MB / 2.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008607/7.028, allocations: 2.86 MB / 3.455 GB, free: 0.5977 MB / 2.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004821/7.033, allocations: 155.4 kB / 3.455 GB, free: 0.5781 MB / 2.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009259/7.042, allocations: 269.5 kB / 3.455 GB, free: 500 kB / 2.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006356/7.043, allocations: 413.9 kB / 3.455 GB, free: 320 kB / 2.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005988/7.043, allocations: 263.8 kB / 3.456 GB, free: 276 kB / 2.108 GB Notification: Performance of sorting global known variables: time 0.02441/7.068, allocations: 11.91 MB / 3.467 GB, free: 13.46 MB / 2.123 GB Notification: Performance of sort global known variables: time 2.1e-07/7.068, allocations: 0 / 3.467 GB, free: 13.46 MB / 2.123 GB Notification: Performance of remove unused functions: time 0.02419/7.092, allocations: 5.428 MB / 3.473 GB, free: 8.512 MB / 2.123 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.0327/7.125, allocations: 17.03 MB / 3.489 GB, free: 10.45 MB / 2.139 GB Notification: Performance of simCode: created initialization part: time 0.01103/7.136, allocations: 5.526 MB / 3.495 GB, free: 6.852 MB / 2.139 GB Notification: Performance of simCode: created event and clocks part: time 4.802e-05/7.136, allocations: 8 kB / 3.495 GB, free: 6.844 MB / 2.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004282/7.14, allocations: 2.465 MB / 3.497 GB, free: 5.242 MB / 2.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05369/7.194, allocations: 10.02 MB / 3.507 GB, free: 13.06 MB / 2.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2762/7.47, allocations: 118.9 MB / 3.623 GB, free: 7.121 MB / 2.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01474/7.485, allocations: 7.544 MB / 3.63 GB, free: 15.53 MB / 2.279 GB Notification: Performance of simCode: alias equations: time 0.01608/7.501, allocations: 3.247 MB / 3.634 GB, free: 12.37 MB / 2.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01522/7.516, allocations: 8.075 MB / 3.641 GB, free: 4.297 MB / 2.279 GB Notification: Performance of SimCode: time 1.663e-06/7.516, allocations: 0 / 3.641 GB, free: 4.297 MB / 2.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.496/9.012, allocations: 0.5248 GB / 4.166 GB, free: 1.386 GB / 2.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 68.35/77.36, allocations: 5.438 kB / 4.166 GB, free: 1.386 GB / 2.623 GB " [Timeout remaining time 222] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/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) [Timeout 300] "" [Timeout remaining time 298] Reference file matches [Calling sys.exit(0), Time elapsed: 89.10943319892976]