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.00213/0.00213, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002033/0.002033, allocations: 210 kB / 22.24 MB, free: 5.258 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.801 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.807/2.807, allocations: 475.9 MB / 0.7699 GB, free: 4.793 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: translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [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.002191/0.002191, allocations: 65.86 kB / 1.117 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3841, allocations: 169.9 MB / 1.283 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.423/3.807, allocations: 1.259 GB / 2.542 GB, free: 91.98 MB / 1.67 GB Notification: Performance of NFInst.instExpressions: time 0.421/4.228, allocations: 312.4 MB / 2.847 GB, free: 11.21 MB / 1.889 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05781/4.286, allocations: 1.685 MB / 2.849 GB, free: 9.512 MB / 1.889 GB Notification: Performance of NFTyping.typeComponents: time 0.04683/4.333, allocations: 13.43 MB / 2.862 GB, free: 12 MB / 1.904 GB Notification: Performance of NFTyping.typeBindings: time 0.104/4.437, allocations: 34.04 MB / 2.895 GB, free: 9.836 MB / 1.936 GB Notification: Performance of NFTyping.typeClassSections: time 0.05609/4.493, allocations: 20.21 MB / 2.915 GB, free: 5.766 MB / 1.951 GB Notification: Performance of NFFlatten.flatten: time 2.87/7.363, allocations: 58.45 MB / 2.972 GB, free: 36.77 MB / 1.983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04779/7.411, allocations: 16.68 MB / 2.988 GB, free: 51.57 MB / 1.998 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0782/7.489, allocations: 26.39 MB / 3.014 GB, free: 51.54 MB / 1.998 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04947/7.539, allocations: 17.91 MB / 3.031 GB, free: 48.78 MB / 1.998 GB Notification: Performance of NFPackage.collectConstants: time 0.015/7.554, allocations: 2.133 MB / 3.033 GB, free: 48.78 MB / 1.998 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05623/7.61, allocations: 15.69 MB / 3.049 GB, free: 48.76 MB / 1.998 GB Notification: Performance of NFScalarize.scalarize: time 0.01413/7.624, allocations: 5.1 MB / 3.054 GB, free: 47.82 MB / 1.998 GB Notification: Performance of NFVerifyModel.verify: time 0.0345/7.658, allocations: 8.699 MB / 3.062 GB, free: 45.61 MB / 1.998 GB Notification: Performance of NFConvertDAE.convert: time 0.09914/7.758, allocations: 41.16 MB / 3.102 GB, free: 41.3 MB / 1.998 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/7.758, allocations: 0 / 3.102 GB, free: 41.3 MB / 1.998 GB Notification: Performance of FrontEnd: time 2.204e-06/7.758, allocations: 4 kB / 3.102 GB, free: 41.29 MB / 1.998 GB Notification: Performance of Transformations before backend: time 0.001706/7.759, allocations: 5.875 kB / 3.102 GB, free: 41.29 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.08145/7.841, allocations: 21.47 MB / 3.123 GB, free: 32.26 MB / 1.998 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/7.841, allocations: 8.469 kB / 3.123 GB, free: 32.26 MB / 1.998 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01477/7.856, allocations: 2.357 MB / 3.126 GB, free: 31.1 MB / 1.998 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05457/7.91, allocations: 18.76 MB / 3.144 GB, free: 27.91 MB / 1.998 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001527/7.912, allocations: 0.9754 MB / 3.145 GB, free: 27.88 MB / 1.998 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006976/7.919, allocations: 1.285 MB / 3.146 GB, free: 27.87 MB / 1.998 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05727/7.976, allocations: 17.07 MB / 3.163 GB, free: 22.55 MB / 1.998 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008132/7.977, allocations: 44.92 kB / 3.163 GB, free: 22.55 MB / 1.998 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004969/7.982, allocations: 0.5398 MB / 3.163 GB, free: 22.54 MB / 1.998 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004313/7.982, allocations: 346.8 kB / 3.164 GB, free: 22.54 MB / 1.998 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0255/8.008, allocations: 10.08 MB / 3.174 GB, free: 22.47 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.1078/8.115, allocations: 56.9 MB / 3.229 GB, free: 13.1 MB / 2.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007135/8.123, allocations: 4.355 MB / 3.233 GB, free: 12.43 MB / 2.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003576/8.126, allocations: 2.281 MB / 3.236 GB, free: 12.19 MB / 2.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.077/8.203, allocations: 22.9 MB / 3.258 GB, free: 10.64 MB / 2.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/8.203, allocations: 120.8 kB / 3.258 GB, free: 10.61 MB / 2.014 GB Notification: Performance of pre-optimization done (n=412): time 8.055e-06/8.203, allocations: 0 / 3.258 GB, free: 10.61 MB / 2.014 GB Notification: Performance of matching and sorting (n=412): time 0.01676/8.22, allocations: 6.682 MB / 3.265 GB, free: 9.77 MB / 2.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003902/8.22, allocations: 0.7883 MB / 3.265 GB, free: 8.859 MB / 2.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03071/8.251, allocations: 11.92 MB / 3.277 GB, free: 6.164 MB / 2.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001983/8.253, allocations: 140.9 kB / 3.277 GB, free: 6.133 MB / 2.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.01219/8.265, allocations: 8.718 MB / 3.286 GB, free: 2.312 MB / 2.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.003838/8.269, allocations: 1.534 MB / 3.287 GB, free: 1.199 MB / 2.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003626/8.273, allocations: 1.494 MB / 3.289 GB, free: 0.9258 MB / 2.014 GB Notification: Performance of setup shared object (initialization): time 0.0001665/8.273, allocations: 308 kB / 3.289 GB, free: 0.6289 MB / 2.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003587/8.277, allocations: 2.086 MB / 3.291 GB, free: 360 kB / 2.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01097/8.288, allocations: 9.606 MB / 3.3 GB, free: 7.059 MB / 2.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/8.299, allocations: 7.153 MB / 3.307 GB, free: 3.688 MB / 2.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.883e-05/8.299, allocations: 26.5 kB / 3.307 GB, free: 3.684 MB / 2.029 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02062/8.319, allocations: 8.042 MB / 3.315 GB, free: 2.184 MB / 2.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.49e-05/8.319, allocations: 41.28 kB / 3.315 GB, free: 2.18 MB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-05/8.32, allocations: 87.66 kB / 3.315 GB, free: 2.176 MB / 2.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000132/8.32, allocations: 117 kB / 3.316 GB, free: 2.176 MB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004981/8.325, allocations: 1.465 MB / 3.317 GB, free: 2.008 MB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001589/8.325, allocations: 165.9 kB / 3.317 GB, free: 1.992 MB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01198/8.337, allocations: 0.7965 MB / 3.318 GB, free: 1.578 MB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/8.339, allocations: 393.9 kB / 3.318 GB, free: 1.551 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.01113/8.35, allocations: 3.567 MB / 3.322 GB, free: 1.172 MB / 2.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007118/8.357, allocations: 1.343 MB / 3.323 GB, free: 436 kB / 2.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01815/8.375, allocations: 7.453 MB / 3.33 GB, free: 12.79 MB / 2.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001848/8.375, allocations: 78.83 kB / 3.33 GB, free: 12.72 MB / 2.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.43e-05/8.375, allocations: 11.98 kB / 3.33 GB, free: 12.71 MB / 2.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005375/8.381, allocations: 3.892 MB / 3.334 GB, free: 9.43 MB / 2.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06787/8.449, allocations: 25.36 MB / 3.359 GB, free: 8.457 MB / 2.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.89e-05/8.449, allocations: 28 kB / 3.359 GB, free: 8.43 MB / 2.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003372/8.452, allocations: 0.7807 MB / 3.36 GB, free: 7.727 MB / 2.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.211e-05/8.452, allocations: 56 kB / 3.36 GB, free: 7.672 MB / 2.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004635/8.453, allocations: 160.1 kB / 3.36 GB, free: 7.578 MB / 2.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.3e-05/8.453, allocations: 66.52 kB / 3.36 GB, free: 7.527 MB / 2.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-05/8.453, allocations: 49.31 kB / 3.36 GB, free: 7.492 MB / 2.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02414/8.477, allocations: 11.74 MB / 3.372 GB, free: 14.17 MB / 2.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01138/8.488, allocations: 2.228 MB / 3.374 GB, free: 12.51 MB / 2.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005439/8.494, allocations: 160.5 kB / 3.374 GB, free: 12.42 MB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009542/8.503, allocations: 169.3 kB / 3.374 GB, free: 12.32 MB / 2.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/8.504, allocations: 427 kB / 3.374 GB, free: 11.98 MB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009384/8.505, allocations: 261.5 kB / 3.375 GB, free: 11.77 MB / 2.076 GB Notification: Performance of sorting global known variables: time 0.02621/8.532, allocations: 8.047 MB / 3.383 GB, free: 5.719 MB / 2.076 GB Notification: Performance of sort global known variables: time 1.81e-07/8.532, allocations: 0 / 3.383 GB, free: 5.719 MB / 2.076 GB Notification: Performance of remove unused functions: time 0.03563/8.567, allocations: 5.878 MB / 3.388 GB, free: 15.82 MB / 2.092 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.01833/8.586, allocations: 4.4 MB / 3.393 GB, free: 11.88 MB / 2.092 GB Notification: Performance of simCode: created initialization part: time 0.01601/8.602, allocations: 5.516 MB / 3.398 GB, free: 6.707 MB / 2.092 GB Notification: Performance of simCode: created event and clocks part: time 8.28e-05/8.602, allocations: 4 kB / 3.398 GB, free: 6.703 MB / 2.092 GB Notification: Performance of simCode: created simulation system equations: time 0.005868/8.607, allocations: 2.484 MB / 3.4 GB, free: 4.387 MB / 2.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0416/8.649, allocations: 5.881 MB / 3.406 GB, free: 14.8 MB / 2.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06836/8.717, allocations: 27.94 MB / 3.433 GB, free: 2.75 MB / 2.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01881/8.736, allocations: 7.515 MB / 3.441 GB, free: 11.19 MB / 2.139 GB Notification: Performance of simCode: alias equations: time 0.01397/8.75, allocations: 2.576 MB / 3.443 GB, free: 8.633 MB / 2.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003371/8.754, allocations: 0.8418 MB / 3.444 GB, free: 7.793 MB / 2.139 GB Notification: Performance of SimCode: time 1.123e-06/8.754, allocations: 0 / 3.444 GB, free: 7.793 MB / 2.139 GB Notification: Performance of Templates: time 0.51/9.264, allocations: 285.2 MB / 3.723 GB, free: 14.5 MB / 2.42 GB " [Timeout remaining time 291] make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 400] 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/jenkins/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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 28.21401720494032]