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.001293/0.001293, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001478/0.001478, allocations: 220 kB / 22.24 MB, free: 5.109 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.832 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.584/2.584, allocations: 476 MB / 0.7699 GB, free: 4.777 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.002062/0.002062, allocations: 67.84 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3136, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.89/3.204, allocations: 1.259 GB / 2.541 GB, free: 123.1 MB / 1.701 GB Notification: Performance of NFInst.instExpressions: time 0.3702/3.574, allocations: 312.4 MB / 2.847 GB, free: 7.672 MB / 1.842 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04707/3.621, allocations: 1.685 MB / 2.848 GB, free: 5.973 MB / 1.842 GB Notification: Performance of NFTyping.typeComponents: time 0.03981/3.661, allocations: 13.44 MB / 2.861 GB, free: 8.449 MB / 1.858 GB Notification: Performance of NFTyping.typeBindings: time 0.09666/3.757, allocations: 34.05 MB / 2.895 GB, free: 6.285 MB / 1.889 GB Notification: Performance of NFTyping.typeClassSections: time 0.05069/3.808, allocations: 20.21 MB / 2.914 GB, free: 2.219 MB / 1.904 GB Notification: Performance of NFFlatten.flatten: time 0.08378/3.892, allocations: 58.47 MB / 2.971 GB, free: 7.586 MB / 1.967 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04275/3.935, allocations: 16.68 MB / 2.988 GB, free: 6.742 MB / 1.983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.213/6.148, allocations: 26.38 MB / 3.013 GB, free: 50.12 MB / 1.998 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03207/6.18, allocations: 17.91 MB / 3.031 GB, free: 49.31 MB / 1.998 GB Notification: Performance of NFPackage.collectConstants: time 0.008668/6.188, allocations: 2.13 MB / 3.033 GB, free: 49.31 MB / 1.998 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04135/6.23, allocations: 15.69 MB / 3.048 GB, free: 49.3 MB / 1.998 GB Notification: Performance of NFScalarize.scalarize: time 0.01006/6.24, allocations: 5.101 MB / 3.053 GB, free: 49.3 MB / 1.998 GB Notification: Performance of NFVerifyModel.verify: time 0.02201/6.262, allocations: 8.7 MB / 3.062 GB, free: 48.22 MB / 1.998 GB Notification: Performance of NFConvertDAE.convert: time 0.07024/6.332, allocations: 41.16 MB / 3.102 GB, free: 43.91 MB / 1.998 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/6.332, allocations: 0.75 kB / 3.102 GB, free: 43.91 MB / 1.998 GB Notification: Performance of FrontEnd: time 2.495e-06/6.332, allocations: 0 / 3.102 GB, free: 43.91 MB / 1.998 GB Notification: Performance of Transformations before backend: time 0.001139/6.333, allocations: 0 / 3.102 GB, free: 43.91 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.06172/6.395, allocations: 21.47 MB / 3.123 GB, free: 34.86 MB / 1.998 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/6.395, allocations: 9.812 kB / 3.123 GB, free: 34.86 MB / 1.998 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007567/6.402, allocations: 1.636 MB / 3.125 GB, free: 34.74 MB / 1.998 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/6.414, allocations: 2.358 MB / 3.127 GB, free: 33.58 MB / 1.998 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04229/6.457, allocations: 18.76 MB / 3.145 GB, free: 30.39 MB / 1.998 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001071/6.458, allocations: 0.9766 MB / 3.146 GB, free: 30.36 MB / 1.998 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005254/6.463, allocations: 1.292 MB / 3.147 GB, free: 30.35 MB / 1.998 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04347/6.506, allocations: 17.06 MB / 3.164 GB, free: 25.03 MB / 1.998 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005691/6.507, allocations: 44.83 kB / 3.164 GB, free: 25.03 MB / 1.998 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0036/6.511, allocations: 0.5379 MB / 3.165 GB, free: 25.03 MB / 1.998 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003136/6.511, allocations: 349 kB / 3.165 GB, free: 25.03 MB / 1.998 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02193/6.533, allocations: 10.07 MB / 3.175 GB, free: 24.96 MB / 1.998 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.09994/6.633, allocations: 59.85 MB / 3.233 GB, free: 14.83 MB / 2.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006858/6.64, allocations: 4.353 MB / 3.237 GB, free: 14.16 MB / 2.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003262/6.643, allocations: 2.282 MB / 3.24 GB, free: 13.93 MB / 2.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07232/6.715, allocations: 22.9 MB / 3.262 GB, free: 12.39 MB / 2.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/6.715, allocations: 117.1 kB / 3.262 GB, free: 12.35 MB / 2.014 GB Notification: Performance of pre-optimization done (n=412): time 7.464e-06/6.715, allocations: 2.781 kB / 3.262 GB, free: 12.35 MB / 2.014 GB Notification: Performance of matching and sorting (n=412): time 0.0164/6.732, allocations: 7.083 MB / 3.269 GB, free: 11.3 MB / 2.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006458/6.732, allocations: 0.7951 MB / 3.27 GB, free: 26.39 MB / 2.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03869/6.771, allocations: 16.84 MB / 3.286 GB, free: 25.25 MB / 2.029 GB Notification: Performance of collectPreVariables (initialization): time 0.001935/6.773, allocations: 144.1 kB / 3.286 GB, free: 25.22 MB / 2.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.01101/6.784, allocations: 8.677 MB / 3.295 GB, free: 23.27 MB / 2.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00245/6.787, allocations: 1.537 MB / 3.296 GB, free: 22.28 MB / 2.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00338/6.79, allocations: 1.497 MB / 3.298 GB, free: 22.16 MB / 2.029 GB Notification: Performance of setup shared object (initialization): time 0.0001488/6.79, allocations: 301.1 kB / 3.298 GB, free: 21.86 MB / 2.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/6.793, allocations: 2.089 MB / 3.3 GB, free: 21.84 MB / 2.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007722/6.801, allocations: 9.607 MB / 3.31 GB, free: 12.99 MB / 2.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009005/6.81, allocations: 7.144 MB / 3.317 GB, free: 9.984 MB / 2.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/6.81, allocations: 28 kB / 3.317 GB, free: 9.98 MB / 2.029 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02018/6.83, allocations: 8.449 MB / 3.325 GB, free: 8.895 MB / 2.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-05/6.83, allocations: 46.78 kB / 3.325 GB, free: 8.895 MB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/6.831, allocations: 82.09 kB / 3.325 GB, free: 8.895 MB / 2.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/6.831, allocations: 119.7 kB / 3.325 GB, free: 8.895 MB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005126/6.836, allocations: 1.458 MB / 3.327 GB, free: 8.891 MB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001738/6.836, allocations: 172.5 kB / 3.327 GB, free: 8.891 MB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01434/6.85, allocations: 1.351 MB / 3.328 GB, free: 8.137 MB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002043/6.852, allocations: 391.3 kB / 3.328 GB, free: 8.137 MB / 2.029 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.01022/6.863, allocations: 3.567 MB / 3.332 GB, free: 7.965 MB / 2.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005769/6.868, allocations: 1.754 MB / 3.334 GB, free: 7.004 MB / 2.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/6.883, allocations: 7.719 MB / 3.341 GB, free: 6.5 MB / 2.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001298/6.883, allocations: 79.2 kB / 3.341 GB, free: 6.5 MB / 2.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.017e-05/6.883, allocations: 7.906 kB / 3.341 GB, free: 6.5 MB / 2.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004299/6.888, allocations: 3.897 MB / 3.345 GB, free: 4.75 MB / 2.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05771/6.945, allocations: 27.01 MB / 3.371 GB, free: 220 kB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-05/6.945, allocations: 33.12 kB / 3.371 GB, free: 220 kB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002659/6.948, allocations: 0.7765 MB / 3.372 GB, free: 120 kB / 2.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.686e-05/6.948, allocations: 50 kB / 3.372 GB, free: 120 kB / 2.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004138/6.948, allocations: 157.1 kB / 3.372 GB, free: 104 kB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.126e-05/6.949, allocations: 74.81 kB / 3.372 GB, free: 96 kB / 2.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.308e-05/6.949, allocations: 46.06 kB / 3.373 GB, free: 96 kB / 2.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/6.967, allocations: 12.21 MB / 3.384 GB, free: 10.88 MB / 2.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01036/6.977, allocations: 2.858 MB / 3.387 GB, free: 9.457 MB / 2.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005578/6.983, allocations: 156.2 kB / 3.387 GB, free: 9.43 MB / 2.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01027/6.993, allocations: 253.7 kB / 3.388 GB, free: 9.352 MB / 2.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001055/6.994, allocations: 426.2 kB / 3.388 GB, free: 9.164 MB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006805/6.995, allocations: 261.7 kB / 3.388 GB, free: 9.125 MB / 2.045 GB Notification: Performance of sorting global known variables: time 0.0294/7.024, allocations: 11.88 MB / 3.4 GB, free: 1.785 MB / 2.045 GB Notification: Performance of sort global known variables: time 1.6e-07/7.024, allocations: 0 / 3.4 GB, free: 1.785 MB / 2.045 GB Notification: Performance of remove unused functions: time 0.02431/7.048, allocations: 5.43 MB / 3.405 GB, free: 12.84 MB / 2.061 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.03479/7.083, allocations: 17.02 MB / 3.422 GB, free: 14.78 MB / 2.076 GB Notification: Performance of simCode: created initialization part: time 0.01149/7.095, allocations: 5.523 MB / 3.427 GB, free: 11.18 MB / 2.076 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-05/7.095, allocations: 4.125 kB / 3.427 GB, free: 11.18 MB / 2.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004351/7.099, allocations: 2.484 MB / 3.43 GB, free: 9.562 MB / 2.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05294/7.152, allocations: 10.01 MB / 3.439 GB, free: 1.207 MB / 2.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2794/7.431, allocations: 118.8 MB / 3.555 GB, free: 8.414 MB / 2.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01457/7.446, allocations: 7.528 MB / 3.563 GB, free: 0.8359 MB / 2.201 GB Notification: Performance of simCode: alias equations: time 0.01709/7.463, allocations: 3.241 MB / 3.566 GB, free: 13.62 MB / 2.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01823/7.481, allocations: 8.063 MB / 3.574 GB, free: 5.555 MB / 2.217 GB Notification: Performance of SimCode: time 1.293e-06/7.481, allocations: 0 / 3.574 GB, free: 5.555 MB / 2.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.924/9.406, allocations: 0.5265 GB / 4.1 GB, free: 0.5493 GB / 2.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 59.91/69.31, allocations: 10.81 kB / 4.1 GB, free: 0.5493 GB / 2.529 GB " [Timeout remaining time 230] (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: 78.98892666725442]