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.00103/0.00103, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001023/0.001023, allocations: 181.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9021/0.9021, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.802/1.802, allocations: 377.8 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: 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_12_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_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.958e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.893/2.893, allocations: 1.249 GB / 2.231 GB, free: 104 MB / 1.635 GB Notification: Performance of NFInst.instExpressions: time 0.3202/3.213, allocations: 311.2 MB / 2.535 GB, free: 70.23 MB / 1.635 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04053/3.254, allocations: 1.696 MB / 2.537 GB, free: 70.22 MB / 1.635 GB Notification: Performance of NFTyping.typeComponents: time 0.03261/3.286, allocations: 13.6 MB / 2.55 GB, free: 62.46 MB / 1.635 GB Notification: Performance of NFTyping.typeBindings: time 0.07825/3.365, allocations: 34.76 MB / 2.584 GB, free: 40.68 MB / 1.635 GB Notification: Performance of NFTyping.typeClassSections: time 0.03945/3.404, allocations: 21.12 MB / 2.605 GB, free: 25.72 MB / 1.635 GB Notification: Performance of NFFlatten.flatten: time 0.06658/3.471, allocations: 58.67 MB / 2.662 GB, free: 1.301 MB / 1.667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03538/3.506, allocations: 16.75 MB / 2.678 GB, free: 1.09 MB / 1.682 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08149/3.588, allocations: 36.83 MB / 2.714 GB, free: 14.23 MB / 1.729 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03025/3.618, allocations: 15.99 MB / 2.73 GB, free: 15.59 MB / 1.745 GB Notification: Performance of NFPackage.collectConstants: time 0.008419/3.626, allocations: 2.129 MB / 2.732 GB, free: 13.46 MB / 1.745 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04138/3.668, allocations: 15.71 MB / 2.747 GB, free: 14.42 MB / 1.76 GB Notification: Performance of NFScalarize.scalarize: time 0.00982/3.677, allocations: 5.235 MB / 2.753 GB, free: 9.465 MB / 1.76 GB Notification: Performance of NFVerifyModel.verify: time 0.02269/3.7, allocations: 7.331 MB / 2.76 GB, free: 2.414 MB / 1.76 GB Notification: Performance of NFConvertDAE.convert: time 0.06944/3.77, allocations: 42.46 MB / 2.801 GB, free: 9.527 MB / 1.807 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/3.77, allocations: 0 / 2.801 GB, free: 9.527 MB / 1.807 GB Notification: Performance of FrontEnd: time 2.515e-06/3.77, allocations: 0 / 2.801 GB, free: 9.527 MB / 1.807 GB Notification: Performance of Transformations before backend: time 0.001169/3.771, allocations: 0 / 2.801 GB, free: 9.527 MB / 1.807 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.04373/3.814, allocations: 21.34 MB / 2.822 GB, free: 4.266 MB / 1.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/3.814, allocations: 8.031 kB / 2.822 GB, free: 4.258 MB / 1.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006009/3.82, allocations: 2.365 MB / 2.824 GB, free: 1.879 MB / 1.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02719/3.848, allocations: 18.95 MB / 2.843 GB, free: 15.18 MB / 1.854 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005791/3.848, allocations: 0.9726 MB / 2.844 GB, free: 14.21 MB / 1.854 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002614/3.851, allocations: 1.295 MB / 2.845 GB, free: 12.92 MB / 1.854 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/3.873, allocations: 17.06 MB / 2.862 GB, free: 10.51 MB / 1.87 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002052/3.873, allocations: 39.62 kB / 2.862 GB, free: 10.47 MB / 1.87 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009768/3.874, allocations: 0.5337 MB / 2.862 GB, free: 9.941 MB / 1.87 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001864/3.874, allocations: 347.9 kB / 2.863 GB, free: 9.602 MB / 1.87 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/3.89, allocations: 10.08 MB / 2.872 GB, free: 15.55 MB / 1.885 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.07125/3.961, allocations: 56.82 MB / 2.928 GB, free: 6.008 MB / 1.932 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005842/3.967, allocations: 4.34 MB / 2.932 GB, free: 1.422 MB / 1.932 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6258/4.593, allocations: 2.286 MB / 2.934 GB, free: 0.9676 GB / 1.932 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03867/4.631, allocations: 22.88 MB / 2.957 GB, free: 0.9675 GB / 1.932 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/4.631, allocations: 126.6 kB / 2.957 GB, free: 0.9675 GB / 1.932 GB Notification: Performance of pre-optimization done (n=412): time 7.383e-06/4.631, allocations: 0 / 2.957 GB, free: 0.9675 GB / 1.932 GB Notification: Performance of matching and sorting (n=412): time 0.01234/4.644, allocations: 6.681 MB / 2.963 GB, free: 0.966 GB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/4.644, allocations: 0.7898 MB / 2.964 GB, free: 0.9652 GB / 1.932 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01945/4.663, allocations: 12 MB / 2.976 GB, free: 0.9611 GB / 1.932 GB Notification: Performance of collectPreVariables (initialization): time 0.001197/4.665, allocations: 143.3 kB / 2.976 GB, free: 0.961 GB / 1.932 GB Notification: Performance of collectInitialEqns (initialization): time 0.005665/4.67, allocations: 8.743 MB / 2.985 GB, free: 0.9561 GB / 1.932 GB Notification: Performance of collectInitialBindings (initialization): time 0.001881/4.672, allocations: 1.514 MB / 2.986 GB, free: 0.955 GB / 1.932 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001973/4.674, allocations: 1.482 MB / 2.987 GB, free: 0.9543 GB / 1.932 GB Notification: Performance of setup shared object (initialization): time 4.458e-05/4.674, allocations: 303 kB / 2.988 GB, free: 0.954 GB / 1.932 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/4.677, allocations: 2.086 MB / 2.99 GB, free: 0.9532 GB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005765/4.683, allocations: 9.606 MB / 2.999 GB, free: 0.9435 GB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007124/4.69, allocations: 7.15 MB / 3.006 GB, free: 0.9383 GB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.851e-05/4.69, allocations: 23.22 kB / 3.006 GB, free: 0.9383 GB / 1.932 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01373/4.704, allocations: 8.067 MB / 3.014 GB, free: 0.935 GB / 1.932 GB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/4.704, allocations: 42.95 kB / 3.014 GB, free: 0.935 GB / 1.932 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/4.704, allocations: 82.72 kB / 3.014 GB, free: 0.935 GB / 1.932 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/4.704, allocations: 118.2 kB / 3.014 GB, free: 0.935 GB / 1.932 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/4.707, allocations: 1.465 MB / 3.016 GB, free: 0.9348 GB / 1.932 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001421/4.707, allocations: 167.2 kB / 3.016 GB, free: 0.9348 GB / 1.932 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006999/4.714, allocations: 0.7933 MB / 3.017 GB, free: 0.9344 GB / 1.932 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008661/4.715, allocations: 392.6 kB / 3.017 GB, free: 0.9343 GB / 1.932 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.01007/4.725, allocations: 3.578 MB / 3.021 GB, free: 0.9323 GB / 1.932 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005814/4.731, allocations: 1.353 MB / 3.022 GB, free: 0.9315 GB / 1.932 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/4.744, allocations: 7.456 MB / 3.029 GB, free: 0.9287 GB / 1.932 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000137/4.744, allocations: 86.64 kB / 3.029 GB, free: 0.9286 GB / 1.932 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-05/4.744, allocations: 7.938 kB / 3.029 GB, free: 0.9286 GB / 1.932 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003049/4.747, allocations: 3.884 MB / 3.033 GB, free: 0.926 GB / 1.932 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0325/4.78, allocations: 25.39 MB / 3.058 GB, free: 0.9138 GB / 1.932 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.374e-05/4.78, allocations: 32.25 kB / 3.058 GB, free: 0.9138 GB / 1.932 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/4.781, allocations: 0.7735 MB / 3.059 GB, free: 0.9137 GB / 1.932 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.72e-05/4.781, allocations: 48.59 kB / 3.059 GB, free: 0.9137 GB / 1.932 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/4.781, allocations: 158.3 kB / 3.059 GB, free: 0.9137 GB / 1.932 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.579e-05/4.781, allocations: 79.75 kB / 3.059 GB, free: 0.9136 GB / 1.932 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/4.781, allocations: 45.84 kB / 3.059 GB, free: 0.9136 GB / 1.932 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/4.792, allocations: 11.69 MB / 3.07 GB, free: 0.9068 GB / 1.932 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004662/4.797, allocations: 2.227 MB / 3.072 GB, free: 0.9051 GB / 1.932 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001768/4.799, allocations: 162.4 kB / 3.073 GB, free: 0.905 GB / 1.932 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003305/4.802, allocations: 173.3 kB / 3.073 GB, free: 0.9048 GB / 1.932 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/4.802, allocations: 412.9 kB / 3.073 GB, free: 0.9046 GB / 1.932 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003737/4.803, allocations: 265.1 kB / 3.073 GB, free: 0.9044 GB / 1.932 GB Notification: Performance of sorting global known variables: time 0.01001/4.813, allocations: 8.142 MB / 3.081 GB, free: 0.8977 GB / 1.932 GB Notification: Performance of sort global known variables: time 1.91e-07/4.813, allocations: 0 / 3.081 GB, free: 0.8977 GB / 1.932 GB Notification: Performance of remove unused functions: time 0.01601/4.829, allocations: 5.887 MB / 3.087 GB, free: 0.892 GB / 1.932 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.007924/4.837, allocations: 4.646 MB / 3.092 GB, free: 0.8886 GB / 1.932 GB Notification: Performance of simCode: created initialization part: time 0.007678/4.844, allocations: 5.527 MB / 3.097 GB, free: 0.8838 GB / 1.932 GB Notification: Performance of simCode: created event and clocks part: time 3.21e-05/4.845, allocations: 8 kB / 3.097 GB, free: 0.8837 GB / 1.932 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/4.847, allocations: 2.468 MB / 3.1 GB, free: 0.8816 GB / 1.932 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02136/4.868, allocations: 5.894 MB / 3.105 GB, free: 0.8772 GB / 1.932 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03181/4.9, allocations: 27.51 MB / 3.132 GB, free: 0.8499 GB / 1.932 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005014/4.905, allocations: 7.278 MB / 3.139 GB, free: 0.8427 GB / 1.932 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002307/4.908, allocations: 0.8831 MB / 3.14 GB, free: 0.8418 GB / 1.932 GB Notification: Performance of SimCode: time 1.503e-06/4.908, allocations: 0 / 3.14 GB, free: 0.8418 GB / 1.932 GB Notification: Performance of Templates: time 0.2567/5.164, allocations: 276.6 MB / 3.41 GB, free: 0.5726 GB / 1.932 GB " [Timeout remaining time 295] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 400] 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/jenkins/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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 38.78758872393519]