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.001815/0.001815, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001932/0.001932, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.386/1.386, allocations: 230.6 MB / 256 MB, free: 7.98 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.636/2.636, allocations: 476.7 MB / 0.7707 GB, free: 4.234 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",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.001997/0.001997, allocations: 65.2 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3175, allocations: 169.9 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.986/3.304, allocations: 1.398 GB / 2.681 GB, free: 39.68 MB / 1.686 GB Notification: Performance of NFInst.instExpressions: time 1.632/4.936, allocations: 338.5 MB / 3.012 GB, free: 26.09 MB / 1.967 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04892/4.985, allocations: 1.679 MB / 3.014 GB, free: 26.09 MB / 1.967 GB Notification: Performance of NFTyping.typeComponents: time 0.04018/5.025, allocations: 13.71 MB / 3.027 GB, free: 26.09 MB / 1.967 GB Notification: Performance of NFTyping.typeBindings: time 0.08863/5.114, allocations: 34.4 MB / 3.061 GB, free: 25.88 MB / 1.967 GB Notification: Performance of NFTyping.typeClassSections: time 0.04786/5.162, allocations: 20.98 MB / 3.081 GB, free: 25.38 MB / 1.967 GB Notification: Performance of NFFlatten.flatten: time 0.08361/5.245, allocations: 58.79 MB / 3.139 GB, free: 25.26 MB / 1.967 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04199/5.287, allocations: 16.92 MB / 3.155 GB, free: 23.97 MB / 1.967 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07336/5.361, allocations: 26.22 MB / 3.181 GB, free: 22.63 MB / 1.967 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04578/5.406, allocations: 18.57 MB / 3.199 GB, free: 18.99 MB / 1.967 GB Notification: Performance of NFPackage.collectConstants: time 0.01002/5.416, allocations: 2.13 MB / 3.201 GB, free: 18.99 MB / 1.967 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05458/5.471, allocations: 18.79 MB / 3.219 GB, free: 18.75 MB / 1.967 GB Notification: Performance of NFScalarize.scalarize: time 0.01094/5.482, allocations: 5.098 MB / 3.224 GB, free: 17.82 MB / 1.967 GB Notification: Performance of NFVerifyModel.verify: time 0.02828/5.51, allocations: 11.17 MB / 3.235 GB, free: 14.86 MB / 1.967 GB Notification: Performance of NFConvertDAE.convert: time 0.08274/5.593, allocations: 41.94 MB / 3.276 GB, free: 0 / 1.967 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/5.593, allocations: 192 / 3.276 GB, free: 0 / 1.967 GB Notification: Performance of FrontEnd: time 4.429e-06/5.593, allocations: 10.94 kB / 3.276 GB, free: 15.99 MB / 1.982 GB Notification: Performance of Transformations before backend: time 0.001238/5.594, allocations: 3.938 kB / 3.276 GB, free: 15.98 MB / 1.982 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.06459/5.659, allocations: 21.48 MB / 3.297 GB, free: 4.793 MB / 1.982 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/5.659, allocations: 8.375 kB / 3.297 GB, free: 4.793 MB / 1.982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007162/5.666, allocations: 1.639 MB / 3.299 GB, free: 4.379 MB / 1.982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/5.678, allocations: 2.365 MB / 3.301 GB, free: 3.18 MB / 1.982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04499/5.723, allocations: 18.76 MB / 3.319 GB, free: 12.51 MB / 1.998 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001106/5.724, allocations: 0.9739 MB / 3.32 GB, free: 12.48 MB / 1.998 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004799/5.729, allocations: 1.292 MB / 3.322 GB, free: 12.48 MB / 1.998 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04381/5.773, allocations: 14.62 MB / 3.336 GB, free: 2.062 MB / 1.998 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005124/5.773, allocations: 43.39 kB / 3.336 GB, free: 2.043 MB / 1.998 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003426/5.777, allocations: 0.5351 MB / 3.336 GB, free: 1.508 MB / 1.998 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003634/5.777, allocations: 351.3 kB / 3.337 GB, free: 1.168 MB / 1.998 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02367/5.801, allocations: 10.09 MB / 3.347 GB, free: 7.316 MB / 2.014 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.1219/5.922, allocations: 76.23 MB / 3.421 GB, free: 8.309 MB / 2.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008372/5.931, allocations: 4.354 MB / 3.425 GB, free: 3.781 MB / 2.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004306/5.935, allocations: 2.302 MB / 3.427 GB, free: 1.41 MB / 2.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07839/6.014, allocations: 22.82 MB / 3.45 GB, free: 10.66 MB / 2.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/6.014, allocations: 123.3 kB / 3.45 GB, free: 10.55 MB / 2.123 GB Notification: Performance of pre-optimization done (n=412): time 1.478e-05/6.014, allocations: 0 / 3.45 GB, free: 10.55 MB / 2.123 GB Notification: Performance of matching and sorting (n=412): time 0.01886/6.033, allocations: 7.08 MB / 3.457 GB, free: 3.516 MB / 2.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004749/6.033, allocations: 0.7889 MB / 3.458 GB, free: 2.555 MB / 2.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04335/6.076, allocations: 16.72 MB / 3.474 GB, free: 1.938 MB / 2.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001432/6.078, allocations: 141.7 kB / 3.474 GB, free: 1.793 MB / 2.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.01326/6.091, allocations: 8.687 MB / 3.483 GB, free: 9.105 MB / 2.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.002777/6.094, allocations: 1.532 MB / 3.484 GB, free: 7.594 MB / 2.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005326/6.099, allocations: 1.5 MB / 3.485 GB, free: 6.086 MB / 2.154 GB Notification: Performance of setup shared object (initialization): time 0.0001294/6.099, allocations: 301.1 kB / 3.486 GB, free: 5.789 MB / 2.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004504/6.104, allocations: 2.086 MB / 3.488 GB, free: 3.699 MB / 2.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00842/6.112, allocations: 5.291 MB / 3.493 GB, free: 13.11 MB / 2.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/6.123, allocations: 7.141 MB / 3.5 GB, free: 5.207 MB / 2.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/6.124, allocations: 20 kB / 3.5 GB, free: 5.188 MB / 2.17 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02091/6.144, allocations: 8.471 MB / 3.508 GB, free: 13.2 MB / 2.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/6.145, allocations: 43.98 kB / 3.508 GB, free: 13.16 MB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/6.145, allocations: 80 kB / 3.508 GB, free: 13.08 MB / 2.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/6.145, allocations: 123.9 kB / 3.508 GB, free: 12.96 MB / 2.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005501/6.15, allocations: 1.452 MB / 3.51 GB, free: 11.62 MB / 2.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002358/6.151, allocations: 174 kB / 3.51 GB, free: 11.48 MB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01315/6.164, allocations: 1.345 MB / 3.511 GB, free: 10.13 MB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001836/6.166, allocations: 399.9 kB / 3.512 GB, free: 9.738 MB / 2.186 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.01035/6.176, allocations: 3.562 MB / 3.515 GB, free: 6.273 MB / 2.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006288/6.182, allocations: 1.75 MB / 3.517 GB, free: 4.512 MB / 2.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/6.2, allocations: 7.703 MB / 3.524 GB, free: 12.89 MB / 2.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002087/6.2, allocations: 83.94 kB / 3.525 GB, free: 12.8 MB / 2.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.036e-05/6.2, allocations: 8 kB / 3.525 GB, free: 12.8 MB / 2.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005522/6.206, allocations: 3.892 MB / 3.528 GB, free: 8.605 MB / 2.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06304/6.269, allocations: 28.92 MB / 3.557 GB, free: 11.58 MB / 2.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001356/6.269, allocations: 36 kB / 3.557 GB, free: 11.54 MB / 2.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003245/6.272, allocations: 0.7743 MB / 3.557 GB, free: 10.82 MB / 2.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.592e-05/6.272, allocations: 52.56 kB / 3.557 GB, free: 10.77 MB / 2.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007186/6.273, allocations: 152 kB / 3.558 GB, free: 10.62 MB / 2.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.701e-05/6.273, allocations: 71.47 kB / 3.558 GB, free: 10.56 MB / 2.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-05/6.273, allocations: 50.25 kB / 3.558 GB, free: 10.53 MB / 2.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02208/6.295, allocations: 12.22 MB / 3.57 GB, free: 13.76 MB / 2.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009547/6.305, allocations: 2.857 MB / 3.572 GB, free: 10.89 MB / 2.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005156/6.31, allocations: 155.7 kB / 3.573 GB, free: 10.73 MB / 2.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009512/6.319, allocations: 259.5 kB / 3.573 GB, free: 10.48 MB / 2.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/6.321, allocations: 423 kB / 3.573 GB, free: 10.09 MB / 2.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001175/6.322, allocations: 259.8 kB / 3.573 GB, free: 9.84 MB / 2.248 GB Notification: Performance of sorting global known variables: time 0.02989/6.352, allocations: 11.88 MB / 3.585 GB, free: 14.06 MB / 2.264 GB Notification: Performance of sort global known variables: time 2.2e-07/6.352, allocations: 0 / 3.585 GB, free: 14.06 MB / 2.264 GB Notification: Performance of remove unused functions: time 0.0227/6.374, allocations: 5.423 MB / 3.59 GB, free: 8.629 MB / 2.264 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.03871/6.413, allocations: 17.03 MB / 3.607 GB, free: 7.48 MB / 2.279 GB Notification: Performance of simCode: created initialization part: time 0.01218/6.425, allocations: 5.527 MB / 3.612 GB, free: 2.273 MB / 2.279 GB Notification: Performance of simCode: created event and clocks part: time 3.89e-05/6.425, allocations: 15.88 kB / 3.612 GB, free: 2.258 MB / 2.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00496/6.43, allocations: 2.467 MB / 3.615 GB, free: 15.95 MB / 2.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05367/6.484, allocations: 10.01 MB / 3.625 GB, free: 6.109 MB / 2.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2917/6.776, allocations: 118.8 MB / 3.741 GB, free: 11.9 MB / 2.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01835/6.794, allocations: 7.779 MB / 3.748 GB, free: 4.078 MB / 2.42 GB Notification: Performance of simCode: alias equations: time 0.01752/6.812, allocations: 3.237 MB / 3.751 GB, free: 0.8633 MB / 2.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01827/6.83, allocations: 8.072 MB / 3.759 GB, free: 8.84 MB / 2.436 GB Notification: Performance of SimCode: time 1.894e-06/6.83, allocations: 0 / 3.759 GB, free: 8.84 MB / 2.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.926/8.755, allocations: 0.5017 GB / 4.261 GB, free: 1.181 GB / 2.561 GB Notification: Performance of buildModelFMU: Generate platform static: time 64.76/73.52, allocations: 4.062 kB / 4.261 GB, free: 1.181 GB / 2.561 GB " [Timeout remaining time 226] (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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 83.27636427199468]