Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001751/0.001751, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002294/0.002294, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.414/1.414, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.074/3.074, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_12_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.001898/0.001898, allocations: 69.75 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3292, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.944/3.273, allocations: 1.26 GB / 2.586 GB, free: 125.9 MB / 1.732 GB Notification: Performance of NFInst.instExpressions: time 0.385/3.658, allocations: 312.1 MB / 2.891 GB, free: 14.59 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04765/3.706, allocations: 1.692 MB / 2.893 GB, free: 12.88 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 0.03925/3.745, allocations: 13.45 MB / 2.906 GB, free: 15.35 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.09792/3.843, allocations: 33.97 MB / 2.939 GB, free: 13.26 MB / 1.951 GB Notification: Performance of NFTyping.typeClassSections: time 0.05153/3.895, allocations: 20.42 MB / 2.959 GB, free: 8.934 MB / 1.967 GB Notification: Performance of NFFlatten.flatten: time 0.08393/3.979, allocations: 58.67 MB / 3.016 GB, free: 14.09 MB / 2.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04127/4.02, allocations: 16.91 MB / 3.033 GB, free: 13.01 MB / 2.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.294/6.314, allocations: 29.04 MB / 3.061 GB, free: 51.97 MB / 2.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04106/6.355, allocations: 18.26 MB / 3.079 GB, free: 51.14 MB / 2.045 GB Notification: Performance of NFPackage.collectConstants: time 0.01152/6.367, allocations: 2.132 MB / 3.081 GB, free: 51.14 MB / 2.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04827/6.415, allocations: 15.92 MB / 3.097 GB, free: 51.13 MB / 2.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01323/6.428, allocations: 5.11 MB / 3.102 GB, free: 50.96 MB / 2.045 GB Notification: Performance of NFVerifyModel.verify: time 0.02617/6.454, allocations: 8.723 MB / 3.11 GB, free: 48.73 MB / 2.045 GB Notification: Performance of NFConvertDAE.convert: time 0.07483/6.529, allocations: 41.28 MB / 3.15 GB, free: 44.42 MB / 2.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/6.529, allocations: 0 / 3.15 GB, free: 44.42 MB / 2.045 GB Notification: Performance of FrontEnd: time 1.753e-06/6.529, allocations: 0 / 3.15 GB, free: 44.42 MB / 2.045 GB Notification: Performance of Transformations before backend: time 0.001306/6.53, allocations: 0 / 3.15 GB, free: 44.42 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.0662/6.597, allocations: 21.51 MB / 3.171 GB, free: 35.36 MB / 2.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/6.597, allocations: 7.219 kB / 3.171 GB, free: 35.36 MB / 2.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003183/6.597, allocations: 335.3 kB / 3.172 GB, free: 35.33 MB / 2.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007971/6.605, allocations: 1.632 MB / 3.173 GB, free: 35.21 MB / 2.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/6.617, allocations: 2.361 MB / 3.176 GB, free: 34.05 MB / 2.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04498/6.662, allocations: 18.89 MB / 3.194 GB, free: 30.85 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00123/6.663, allocations: 0.9787 MB / 3.195 GB, free: 30.82 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006078/6.669, allocations: 1.293 MB / 3.196 GB, free: 30.8 MB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05397/6.723, allocations: 17.06 MB / 3.213 GB, free: 25.49 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008423/6.724, allocations: 45.5 kB / 3.213 GB, free: 25.49 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005718/6.73, allocations: 0.5334 MB / 3.213 GB, free: 25.49 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004907/6.73, allocations: 346.8 kB / 3.214 GB, free: 25.49 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02651/6.757, allocations: 10.1 MB / 3.224 GB, free: 25.42 MB / 2.045 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.09827/6.855, allocations: 59.85 MB / 3.282 GB, free: 15.29 MB / 2.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006875/6.862, allocations: 4.342 MB / 3.286 GB, free: 14.62 MB / 2.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003138/6.865, allocations: 2.304 MB / 3.289 GB, free: 14.38 MB / 2.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06794/6.933, allocations: 22.89 MB / 3.311 GB, free: 12.84 MB / 2.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/6.933, allocations: 126.1 kB / 3.311 GB, free: 12.8 MB / 2.061 GB Notification: Performance of pre-optimization done (n=412): time 9.107e-06/6.933, allocations: 3.984 kB / 3.311 GB, free: 12.79 MB / 2.061 GB Notification: Performance of matching and sorting (n=412): time 0.01738/6.951, allocations: 7.084 MB / 3.318 GB, free: 11.74 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003818/6.951, allocations: 0.7863 MB / 3.319 GB, free: 10.84 MB / 2.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04251/6.994, allocations: 16.75 MB / 3.335 GB, free: 25.81 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001749/6.995, allocations: 142.5 kB / 3.335 GB, free: 25.78 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.01266/7.008, allocations: 8.697 MB / 3.344 GB, free: 23.82 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002982/7.011, allocations: 1.532 MB / 3.345 GB, free: 22.84 MB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007285/7.018, allocations: 1.497 MB / 3.347 GB, free: 22.71 MB / 2.076 GB Notification: Performance of setup shared object (initialization): time 0.0001441/7.018, allocations: 304.7 kB / 3.347 GB, free: 22.41 MB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00448/7.023, allocations: 2.086 MB / 3.349 GB, free: 22.4 MB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009155/7.032, allocations: 9.601 MB / 3.358 GB, free: 13.55 MB / 2.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/7.042, allocations: 7.144 MB / 3.365 GB, free: 10.55 MB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002191/7.043, allocations: 26.94 kB / 3.365 GB, free: 10.54 MB / 2.076 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02198/7.065, allocations: 8.463 MB / 3.374 GB, free: 9.449 MB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/7.065, allocations: 41.41 kB / 3.374 GB, free: 9.449 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/7.065, allocations: 79.31 kB / 3.374 GB, free: 9.449 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/7.065, allocations: 120 kB / 3.374 GB, free: 9.449 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005158/7.07, allocations: 1.463 MB / 3.375 GB, free: 9.445 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000211/7.071, allocations: 167 kB / 3.375 GB, free: 9.445 MB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01358/7.084, allocations: 1.356 MB / 3.377 GB, free: 8.691 MB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001943/7.086, allocations: 390.4 kB / 3.377 GB, free: 8.691 MB / 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.01126/7.097, allocations: 3.583 MB / 3.381 GB, free: 8.516 MB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008595/7.106, allocations: 1.754 MB / 3.382 GB, free: 7.551 MB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01814/7.124, allocations: 7.701 MB / 3.39 GB, free: 7.074 MB / 2.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000235/7.124, allocations: 84.23 kB / 3.39 GB, free: 7.074 MB / 2.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-05/7.124, allocations: 7.5 kB / 3.39 GB, free: 7.074 MB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004938/7.129, allocations: 3.888 MB / 3.394 GB, free: 5.328 MB / 2.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05847/7.188, allocations: 27.02 MB / 3.42 GB, free: 0.5273 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001571/7.188, allocations: 32.5 kB / 3.42 GB, free: 0.5273 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003124/7.191, allocations: 0.7801 MB / 3.421 GB, free: 436 kB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.048e-05/7.191, allocations: 57.72 kB / 3.421 GB, free: 432 kB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008051/7.192, allocations: 149.4 kB / 3.421 GB, free: 420 kB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.071e-05/7.192, allocations: 69.53 kB / 3.421 GB, free: 412 kB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-05/7.192, allocations: 52.31 kB / 3.421 GB, free: 412 kB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/7.214, allocations: 12.22 MB / 3.433 GB, free: 10.54 MB / 2.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01103/7.225, allocations: 2.859 MB / 3.436 GB, free: 8.48 MB / 2.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006544/7.232, allocations: 156.2 kB / 3.436 GB, free: 8.391 MB / 2.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01144/7.243, allocations: 262.9 kB / 3.436 GB, free: 8.203 MB / 2.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001291/7.244, allocations: 420.3 kB / 3.437 GB, free: 7.867 MB / 2.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001329/7.246, allocations: 264.7 kB / 3.437 GB, free: 7.652 MB / 2.092 GB Notification: Performance of sorting global known variables: time 0.03221/7.278, allocations: 11.9 MB / 3.449 GB, free: 15.72 MB / 2.108 GB Notification: Performance of sort global known variables: time 5.31e-07/7.278, allocations: 0 / 3.449 GB, free: 15.72 MB / 2.108 GB Notification: Performance of remove unused functions: time 0.02492/7.303, allocations: 5.429 MB / 3.454 GB, free: 10.78 MB / 2.108 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.0404/7.343, allocations: 17.03 MB / 3.471 GB, free: 12.71 MB / 2.123 GB Notification: Performance of simCode: created initialization part: time 0.01278/7.356, allocations: 5.52 MB / 3.476 GB, free: 9.121 MB / 2.123 GB Notification: Performance of simCode: created event and clocks part: time 6.285e-05/7.356, allocations: 12.12 kB / 3.476 GB, free: 9.109 MB / 2.123 GB Notification: Performance of simCode: created simulation system equations: time 0.005059/7.361, allocations: 2.472 MB / 3.478 GB, free: 7.5 MB / 2.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05816/7.419, allocations: 10.01 MB / 3.488 GB, free: 15.1 MB / 2.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.26/7.679, allocations: 118.9 MB / 3.604 GB, free: 5.109 MB / 2.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0134/7.693, allocations: 7.541 MB / 3.612 GB, free: 13.52 MB / 2.264 GB Notification: Performance of simCode: alias equations: time 0.01735/7.71, allocations: 3.245 MB / 3.615 GB, free: 10.3 MB / 2.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0163/7.726, allocations: 8.075 MB / 3.623 GB, free: 2.223 MB / 2.264 GB Notification: Performance of SimCode: time 1.272e-06/7.726, allocations: 0 / 3.623 GB, free: 2.223 MB / 2.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.477/9.203, allocations: 0.5249 GB / 4.148 GB, free: 1.353 GB / 2.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 65.39/74.59, allocations: 7.422 kB / 4.148 GB, free: 1.353 GB / 2.592 GB " [Timeout remaining time 225] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 86.34626078698784]