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.001882/0.001882, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.002216/0.002216, allocations: 220 kB / 23.04 MB, free: 5.078 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.059/3.059, allocations: 0.49 GB / 0.7959 GB, free: 33.3 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.001844/0.001844, allocations: 66.39 kB / 1.155 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3441, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.896/3.24, allocations: 1.4 GB / 2.727 GB, free: 12.15 MB / 1.717 GB Notification: Performance of NFInst.instExpressions: time 1.629/4.87, allocations: 338.6 MB / 3.057 GB, free: 39.13 MB / 1.998 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0512/4.921, allocations: 1.69 MB / 3.059 GB, free: 39.13 MB / 1.998 GB Notification: Performance of NFTyping.typeComponents: time 0.04253/4.964, allocations: 13.71 MB / 3.072 GB, free: 39.12 MB / 1.998 GB Notification: Performance of NFTyping.typeBindings: time 0.1016/5.065, allocations: 34.29 MB / 3.106 GB, free: 38.89 MB / 1.998 GB Notification: Performance of NFTyping.typeClassSections: time 0.05446/5.12, allocations: 20.97 MB / 3.126 GB, free: 38.2 MB / 1.998 GB Notification: Performance of NFFlatten.flatten: time 0.08995/5.21, allocations: 58.7 MB / 3.184 GB, free: 38.07 MB / 1.998 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04103/5.251, allocations: 16.95 MB / 3.2 GB, free: 36.75 MB / 1.998 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07424/5.325, allocations: 28.86 MB / 3.228 GB, free: 35.13 MB / 1.998 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04287/5.368, allocations: 18.26 MB / 3.246 GB, free: 31.48 MB / 1.998 GB Notification: Performance of NFPackage.collectConstants: time 0.01487/5.383, allocations: 2.129 MB / 3.248 GB, free: 31.48 MB / 1.998 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05187/5.434, allocations: 18.68 MB / 3.267 GB, free: 31.25 MB / 1.998 GB Notification: Performance of NFScalarize.scalarize: time 0.01114/5.446, allocations: 5.114 MB / 3.272 GB, free: 30.31 MB / 1.998 GB Notification: Performance of NFVerifyModel.verify: time 0.03209/5.478, allocations: 11.2 MB / 3.282 GB, free: 27.34 MB / 1.998 GB Notification: Performance of NFConvertDAE.convert: time 0.08139/5.559, allocations: 41.57 MB / 3.323 GB, free: 8.629 MB / 1.998 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/5.559, allocations: 0 / 3.323 GB, free: 8.629 MB / 1.998 GB Notification: Performance of FrontEnd: time 2.194e-06/5.559, allocations: 0 / 3.323 GB, free: 8.629 MB / 1.998 GB Notification: Performance of Transformations before backend: time 0.001261/5.56, allocations: 0 / 3.323 GB, free: 8.629 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.06029/5.621, allocations: 21.57 MB / 3.344 GB, free: 13.56 MB / 2.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/5.621, allocations: 15.59 kB / 3.344 GB, free: 13.55 MB / 2.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003197/5.621, allocations: 331.1 kB / 3.344 GB, free: 13.52 MB / 2.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006569/5.628, allocations: 1.64 MB / 3.346 GB, free: 13.11 MB / 2.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/5.639, allocations: 2.358 MB / 3.348 GB, free: 11.54 MB / 2.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04622/5.685, allocations: 18.9 MB / 3.367 GB, free: 12.68 MB / 2.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001238/5.686, allocations: 0.9778 MB / 3.368 GB, free: 11.7 MB / 2.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0054/5.692, allocations: 1.297 MB / 3.369 GB, free: 10.41 MB / 2.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04521/5.737, allocations: 14.6 MB / 3.383 GB, free: 11.16 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004043/5.737, allocations: 39.62 kB / 3.383 GB, free: 11.14 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003028/5.74, allocations: 0.5335 MB / 3.384 GB, free: 10.61 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003635/5.741, allocations: 351.3 kB / 3.384 GB, free: 10.27 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02371/5.765, allocations: 10.1 MB / 3.394 GB, free: 420 kB / 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.1244/5.889, allocations: 76.26 MB / 3.469 GB, free: 1.375 MB / 2.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008896/5.898, allocations: 4.352 MB / 3.473 GB, free: 12.84 MB / 2.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004202/5.902, allocations: 2.302 MB / 3.475 GB, free: 10.47 MB / 2.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08115/5.983, allocations: 22.81 MB / 3.497 GB, free: 3.723 MB / 2.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/5.983, allocations: 120.6 kB / 3.497 GB, free: 3.605 MB / 2.154 GB Notification: Performance of pre-optimization done (n=412): time 1.106e-05/5.983, allocations: 0 / 3.497 GB, free: 3.605 MB / 2.154 GB Notification: Performance of matching and sorting (n=412): time 0.02043/6.004, allocations: 7.083 MB / 3.504 GB, free: 12.57 MB / 2.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005006/6.004, allocations: 0.7924 MB / 3.505 GB, free: 11.61 MB / 2.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04746/6.052, allocations: 16.75 MB / 3.521 GB, free: 10.96 MB / 2.186 GB Notification: Performance of collectPreVariables (initialization): time 0.001705/6.054, allocations: 141.7 kB / 3.522 GB, free: 10.82 MB / 2.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0147/6.068, allocations: 8.699 MB / 3.53 GB, free: 2.117 MB / 2.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.003143/6.071, allocations: 1.526 MB / 3.532 GB, free: 0.6133 MB / 2.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006551/6.078, allocations: 1.504 MB / 3.533 GB, free: 15.1 MB / 2.201 GB Notification: Performance of setup shared object (initialization): time 0.0001374/6.078, allocations: 301.1 kB / 3.533 GB, free: 14.8 MB / 2.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00499/6.083, allocations: 2.09 MB / 3.535 GB, free: 12.71 MB / 2.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00892/6.092, allocations: 5.284 MB / 3.541 GB, free: 6.125 MB / 2.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/6.103, allocations: 7.143 MB / 3.548 GB, free: 14.22 MB / 2.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/6.103, allocations: 27.75 kB / 3.548 GB, free: 14.2 MB / 2.217 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02257/6.126, allocations: 8.456 MB / 3.556 GB, free: 6.223 MB / 2.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/6.126, allocations: 44.03 kB / 3.556 GB, free: 6.18 MB / 2.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001702/6.126, allocations: 80 kB / 3.556 GB, free: 6.102 MB / 2.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/6.126, allocations: 120 kB / 3.556 GB, free: 5.984 MB / 2.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00539/6.132, allocations: 1.458 MB / 3.557 GB, free: 4.637 MB / 2.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002476/6.132, allocations: 166.4 kB / 3.558 GB, free: 4.508 MB / 2.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01367/6.146, allocations: 1.359 MB / 3.559 GB, free: 3.141 MB / 2.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001836/6.147, allocations: 387.9 kB / 3.559 GB, free: 2.762 MB / 2.217 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.01136/6.159, allocations: 3.587 MB / 3.563 GB, free: 15.28 MB / 2.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007005/6.166, allocations: 1.75 MB / 3.565 GB, free: 13.52 MB / 2.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01932/6.185, allocations: 7.699 MB / 3.572 GB, free: 5.895 MB / 2.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002388/6.185, allocations: 87.89 kB / 3.572 GB, free: 5.809 MB / 2.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.607e-05/6.185, allocations: 8 kB / 3.572 GB, free: 5.801 MB / 2.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005545/6.191, allocations: 3.884 MB / 3.576 GB, free: 1.617 MB / 2.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06601/6.257, allocations: 28.94 MB / 3.604 GB, free: 4.582 MB / 2.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001488/6.257, allocations: 32 kB / 3.604 GB, free: 4.551 MB / 2.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/6.26, allocations: 0.7782 MB / 3.605 GB, free: 3.82 MB / 2.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.846e-05/6.261, allocations: 48 kB / 3.605 GB, free: 3.773 MB / 2.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007753/6.261, allocations: 152 kB / 3.605 GB, free: 3.625 MB / 2.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.996e-05/6.261, allocations: 74.78 kB / 3.605 GB, free: 3.566 MB / 2.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.9e-05/6.261, allocations: 48 kB / 3.605 GB, free: 3.531 MB / 2.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02334/6.285, allocations: 12.23 MB / 3.617 GB, free: 6.746 MB / 2.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01126/6.296, allocations: 2.857 MB / 3.62 GB, free: 3.875 MB / 2.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005889/6.302, allocations: 155.7 kB / 3.62 GB, free: 3.723 MB / 2.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01076/6.313, allocations: 267.7 kB / 3.62 GB, free: 3.461 MB / 2.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001105/6.314, allocations: 413.3 kB / 3.621 GB, free: 3.082 MB / 2.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001127/6.315, allocations: 263.8 kB / 3.621 GB, free: 2.824 MB / 2.279 GB Notification: Performance of sorting global known variables: time 0.03276/6.348, allocations: 11.9 MB / 3.633 GB, free: 7.023 MB / 2.295 GB Notification: Performance of sort global known variables: time 2.3e-07/6.348, allocations: 0 / 3.633 GB, free: 7.023 MB / 2.295 GB Notification: Performance of remove unused functions: time 0.02636/6.374, allocations: 5.426 MB / 3.638 GB, free: 1.586 MB / 2.295 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.03736/6.411, allocations: 17.03 MB / 3.655 GB, free: 444 kB / 2.311 GB Notification: Performance of simCode: created initialization part: time 0.01272/6.424, allocations: 5.518 MB / 3.66 GB, free: 11.23 MB / 2.326 GB Notification: Performance of simCode: created event and clocks part: time 4.264e-05/6.424, allocations: 15.94 kB / 3.66 GB, free: 11.21 MB / 2.326 GB Notification: Performance of simCode: created simulation system equations: time 0.005295/6.429, allocations: 2.465 MB / 3.662 GB, free: 8.906 MB / 2.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06006/6.489, allocations: 10.01 MB / 3.672 GB, free: 15.07 MB / 2.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3238/6.813, allocations: 119 MB / 3.788 GB, free: 4.586 MB / 2.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01873/6.832, allocations: 7.785 MB / 3.796 GB, free: 12.76 MB / 2.467 GB Notification: Performance of simCode: alias equations: time 0.01782/6.85, allocations: 3.252 MB / 3.799 GB, free: 9.527 MB / 2.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0174/6.867, allocations: 8.072 MB / 3.807 GB, free: 1.453 MB / 2.467 GB Notification: Performance of SimCode: time 1.873e-06/6.867, allocations: 0 / 3.807 GB, free: 1.453 MB / 2.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.987/8.854, allocations: 0.5021 GB / 4.309 GB, free: 1.126 GB / 2.576 GB Notification: Performance of buildModelFMU: Generate platform static: time 65.16/74.01, allocations: 8 kB / 4.309 GB, free: 1.126 GB / 2.576 GB " [Timeout remaining time 226] (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: 85.8438643499976]