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.002038/0.002038, allocations: 104.7 kB / 16.45 MB, free: 6.453 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.002359/0.002359, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.75/1.75, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.049/3.049, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_12_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.00198/0.00198, allocations: 71.78 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3297, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.966/3.296, allocations: 1.386 GB / 2.707 GB, free: 30.14 MB / 1.717 GB Notification: Performance of NFInst.instExpressions: time 1.592/4.888, allocations: 336.3 MB / 3.036 GB, free: 30.59 MB / 1.998 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04669/4.935, allocations: 1.69 MB / 3.037 GB, free: 30.59 MB / 1.998 GB Notification: Performance of NFTyping.typeComponents: time 0.03719/4.972, allocations: 13.66 MB / 3.051 GB, free: 30.58 MB / 1.998 GB Notification: Performance of NFTyping.typeBindings: time 0.08865/5.061, allocations: 33.81 MB / 3.084 GB, free: 30.34 MB / 1.998 GB Notification: Performance of NFTyping.typeClassSections: time 0.05024/5.111, allocations: 19.87 MB / 3.103 GB, free: 30.11 MB / 1.998 GB Notification: Performance of NFFlatten.flatten: time 0.08235/5.193, allocations: 57.75 MB / 3.159 GB, free: 29.97 MB / 1.998 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04228/5.235, allocations: 18.07 MB / 3.177 GB, free: 28.48 MB / 1.998 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06819/5.304, allocations: 28.43 MB / 3.205 GB, free: 26.98 MB / 1.998 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03812/5.342, allocations: 18.25 MB / 3.223 GB, free: 23.32 MB / 1.998 GB Notification: Performance of NFPackage.collectConstants: time 0.01044/5.352, allocations: 2.131 MB / 3.225 GB, free: 23.32 MB / 1.998 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05116/5.403, allocations: 18.42 MB / 3.243 GB, free: 23.09 MB / 1.998 GB Notification: Performance of NFScalarize.scalarize: time 0.01021/5.414, allocations: 5.104 MB / 3.248 GB, free: 22.15 MB / 1.998 GB Notification: Performance of NFVerifyModel.verify: time 0.02613/5.44, allocations: 11.21 MB / 3.259 GB, free: 19.18 MB / 1.998 GB Notification: Performance of NFConvertDAE.convert: time 0.07395/5.514, allocations: 41.57 MB / 3.299 GB, free: 1.055 MB / 1.998 GB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/5.514, allocations: 2.125 kB / 3.299 GB, free: 1.055 MB / 1.998 GB Notification: Performance of FrontEnd: time 2.966e-06/5.514, allocations: 4 kB / 3.299 GB, free: 1.051 MB / 1.998 GB Notification: Performance of Transformations before backend: time 0.001346/5.515, allocations: 3.656 kB / 3.299 GB, free: 1.051 MB / 1.998 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.05908/5.574, allocations: 21.6 MB / 3.32 GB, free: 5.742 MB / 2.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/5.574, allocations: 12.77 kB / 3.32 GB, free: 5.738 MB / 2.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005959/5.58, allocations: 1.639 MB / 3.322 GB, free: 5.324 MB / 2.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/5.59, allocations: 2.356 MB / 3.324 GB, free: 4.129 MB / 2.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04166/5.632, allocations: 19.16 MB / 3.343 GB, free: 9.477 MB / 2.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001209/5.633, allocations: 0.9756 MB / 3.344 GB, free: 8.91 MB / 2.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005949/5.639, allocations: 1.287 MB / 3.345 GB, free: 8.039 MB / 2.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04831/5.688, allocations: 14.61 MB / 3.359 GB, free: 12.22 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005843/5.688, allocations: 46.91 kB / 3.359 GB, free: 12.2 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004319/5.693, allocations: 0.5377 MB / 3.36 GB, free: 11.66 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004121/5.693, allocations: 343.4 kB / 3.36 GB, free: 11.33 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02548/5.718, allocations: 10.1 MB / 3.37 GB, free: 1.469 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.1158/5.834, allocations: 76.68 MB / 3.445 GB, free: 2.094 MB / 2.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008336/5.843, allocations: 4.365 MB / 3.449 GB, free: 13.55 MB / 2.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003904/5.847, allocations: 2.291 MB / 3.451 GB, free: 11.19 MB / 2.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09746/5.944, allocations: 56.09 MB / 3.506 GB, free: 10.91 MB / 2.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/5.944, allocations: 121.3 kB / 3.506 GB, free: 10.79 MB / 2.201 GB Notification: Performance of pre-optimization done (n=412): time 1.829e-05/5.944, allocations: 0 / 3.506 GB, free: 10.79 MB / 2.201 GB Notification: Performance of matching and sorting (n=412): time 0.01866/5.963, allocations: 7.078 MB / 3.513 GB, free: 3.766 MB / 2.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004289/5.963, allocations: 0.7958 MB / 3.514 GB, free: 2.801 MB / 2.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04338/6.007, allocations: 16.72 MB / 3.53 GB, free: 2.188 MB / 2.217 GB Notification: Performance of collectPreVariables (initialization): time 0.001467/6.008, allocations: 145.7 kB / 3.531 GB, free: 2.039 MB / 2.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.01385/6.022, allocations: 8.701 MB / 3.539 GB, free: 9.398 MB / 2.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.003099/6.025, allocations: 1.543 MB / 3.541 GB, free: 7.879 MB / 2.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006584/6.032, allocations: 1.488 MB / 3.542 GB, free: 6.383 MB / 2.232 GB Notification: Performance of setup shared object (initialization): time 0.0001559/6.032, allocations: 309.1 kB / 3.542 GB, free: 6.078 MB / 2.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004937/6.037, allocations: 2.078 MB / 3.544 GB, free: 3.996 MB / 2.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008977/6.046, allocations: 5.288 MB / 3.549 GB, free: 13.42 MB / 2.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/6.057, allocations: 7.133 MB / 3.556 GB, free: 5.523 MB / 2.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/6.057, allocations: 28 kB / 3.556 GB, free: 5.496 MB / 2.248 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02321/6.08, allocations: 8.455 MB / 3.565 GB, free: 13.52 MB / 2.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001592/6.081, allocations: 36 kB / 3.565 GB, free: 13.48 MB / 2.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/6.081, allocations: 87.98 kB / 3.565 GB, free: 13.4 MB / 2.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/6.081, allocations: 116 kB / 3.565 GB, free: 13.29 MB / 2.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005833/6.087, allocations: 1.454 MB / 3.566 GB, free: 11.94 MB / 2.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000237/6.087, allocations: 173.8 kB / 3.567 GB, free: 11.8 MB / 2.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01389/6.101, allocations: 1.353 MB / 3.568 GB, free: 10.45 MB / 2.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002058/6.103, allocations: 402.5 kB / 3.568 GB, free: 10.06 MB / 2.264 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.01147/6.114, allocations: 3.582 MB / 3.572 GB, free: 6.574 MB / 2.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00703/6.121, allocations: 1.75 MB / 3.573 GB, free: 4.812 MB / 2.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01916/6.141, allocations: 7.559 MB / 3.581 GB, free: 13.34 MB / 2.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002391/6.141, allocations: 83.88 kB / 3.581 GB, free: 13.25 MB / 2.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.712e-05/6.141, allocations: 8 kB / 3.581 GB, free: 13.25 MB / 2.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005552/6.146, allocations: 3.848 MB / 3.585 GB, free: 9.102 MB / 2.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06322/6.21, allocations: 28.8 MB / 3.613 GB, free: 12.18 MB / 2.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001455/6.21, allocations: 36.97 kB / 3.613 GB, free: 12.15 MB / 2.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003256/6.213, allocations: 0.7756 MB / 3.614 GB, free: 11.42 MB / 2.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-05/6.213, allocations: 48 kB / 3.614 GB, free: 11.38 MB / 2.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007247/6.214, allocations: 159.1 kB / 3.614 GB, free: 11.22 MB / 2.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.053e-05/6.214, allocations: 67.52 kB / 3.614 GB, free: 11.17 MB / 2.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-05/6.214, allocations: 50.06 kB / 3.614 GB, free: 11.13 MB / 2.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02168/6.236, allocations: 12.07 MB / 3.626 GB, free: 14.51 MB / 2.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009489/6.245, allocations: 2.935 MB / 3.629 GB, free: 11.55 MB / 2.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005482/6.251, allocations: 163.6 kB / 3.629 GB, free: 11.39 MB / 2.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01051/6.261, allocations: 251.4 kB / 3.629 GB, free: 11.14 MB / 2.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/6.262, allocations: 400.4 kB / 3.629 GB, free: 10.78 MB / 2.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001287/6.264, allocations: 259.8 kB / 3.63 GB, free: 10.52 MB / 2.326 GB Notification: Performance of sorting global known variables: time 0.03071/6.294, allocations: 11.88 MB / 3.641 GB, free: 14.74 MB / 2.342 GB Notification: Performance of sort global known variables: time 2.81e-07/6.294, allocations: 0 / 3.641 GB, free: 14.74 MB / 2.342 GB Notification: Performance of remove unused functions: time 0.022/6.316, allocations: 5.434 MB / 3.647 GB, free: 9.297 MB / 2.342 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.03534/6.352, allocations: 16.85 MB / 3.663 GB, free: 8.316 MB / 2.357 GB Notification: Performance of simCode: created initialization part: time 0.01268/6.364, allocations: 5.468 MB / 3.668 GB, free: 3.164 MB / 2.357 GB Notification: Performance of simCode: created event and clocks part: time 4.593e-05/6.365, allocations: 12.92 kB / 3.668 GB, free: 3.152 MB / 2.357 GB Notification: Performance of simCode: created simulation system equations: time 0.005289/6.37, allocations: 2.413 MB / 3.671 GB, free: 0.9023 MB / 2.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05802/6.428, allocations: 10.02 MB / 3.68 GB, free: 7.16 MB / 2.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2606/6.688, allocations: 118.8 MB / 3.797 GB, free: 12.88 MB / 2.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01421/6.703, allocations: 7.784 MB / 3.804 GB, free: 5.055 MB / 2.498 GB Notification: Performance of simCode: alias equations: time 0.01641/6.719, allocations: 3.248 MB / 3.807 GB, free: 1.828 MB / 2.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01599/6.735, allocations: 8.083 MB / 3.815 GB, free: 9.781 MB / 2.514 GB Notification: Performance of SimCode: time 1.172e-06/6.735, allocations: 4 kB / 3.815 GB, free: 9.777 MB / 2.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.973/8.708, allocations: 0.4968 GB / 4.312 GB, free: 1.186 GB / 2.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 71.93/80.64, allocations: 0 / 4.312 GB, free: 1.186 GB / 2.623 GB " [Timeout remaining time 219] (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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 90.98994216206484]