Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001323/0.001323, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00138/0.00138, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.411/1.411, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.89/2.89, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002442/0.002442, allocations: 71.89 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7578/0.7603, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 1.959/2.72, allocations: 1.261 GB / 2.447 GB, free: 4.172 MB / 1.904 GB Notification: Performance of NFInst.instExpressions: time 1.206/3.925, allocations: 312.5 MB / 2.753 GB, free: 127.4 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04171/3.967, allocations: 1.689 MB / 2.754 GB, free: 127.4 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 0.03313/4, allocations: 13.45 MB / 2.767 GB, free: 123.7 MB / 1.904 GB Notification: Performance of NFTyping.typeBindings: time 0.08167/4.082, allocations: 33.93 MB / 2.801 GB, free: 107.3 MB / 1.904 GB Notification: Performance of NFTyping.typeClassSections: time 0.04272/4.125, allocations: 20.21 MB / 2.82 GB, free: 92.87 MB / 1.904 GB Notification: Performance of NFFlatten.flatten: time 0.05982/4.184, allocations: 58.37 MB / 2.877 GB, free: 56.37 MB / 1.904 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02541/4.21, allocations: 16.71 MB / 2.894 GB, free: 39.79 MB / 1.904 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05397/4.264, allocations: 29.1 MB / 2.922 GB, free: 12.38 MB / 1.904 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03117/4.295, allocations: 17.61 MB / 2.939 GB, free: 11.87 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.006799/4.302, allocations: 2.133 MB / 2.941 GB, free: 9.734 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04209/4.344, allocations: 15.58 MB / 2.956 GB, free: 10.73 MB / 1.936 GB Notification: Performance of NFScalarize.scalarize: time 0.009111/4.353, allocations: 5.104 MB / 2.961 GB, free: 5.688 MB / 1.936 GB Notification: Performance of NFVerifyModel.verify: time 0.02082/4.374, allocations: 8.73 MB / 2.97 GB, free: 12.99 MB / 1.951 GB Notification: Performance of NFConvertDAE.convert: time 0.07321/4.447, allocations: 41.28 MB / 3.01 GB, free: 5.008 MB / 1.982 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/4.447, allocations: 0 / 3.01 GB, free: 5.008 MB / 1.982 GB Notification: Performance of FrontEnd: time 1.353e-06/4.447, allocations: 0 / 3.01 GB, free: 5.008 MB / 1.982 GB Notification: Performance of Transformations before backend: time 0.0008224/4.448, allocations: 0 / 3.01 GB, free: 5.008 MB / 1.982 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.04583/4.494, allocations: 21.49 MB / 3.031 GB, free: 15.64 MB / 2.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/4.494, allocations: 8.031 kB / 3.031 GB, free: 15.64 MB / 2.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007907/4.502, allocations: 2.369 MB / 3.034 GB, free: 13.25 MB / 2.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03892/4.541, allocations: 18.9 MB / 3.052 GB, free: 10.62 MB / 2.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001191/4.542, allocations: 0.9719 MB / 3.053 GB, free: 9.648 MB / 2.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005257/4.547, allocations: 1.295 MB / 3.054 GB, free: 8.355 MB / 2.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04015/4.587, allocations: 17.06 MB / 3.071 GB, free: 5.949 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005051/4.588, allocations: 51.58 kB / 3.071 GB, free: 5.898 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002708/4.59, allocations: 0.5348 MB / 3.072 GB, free: 5.367 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003955/4.591, allocations: 347.9 kB / 3.072 GB, free: 5.027 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/4.614, allocations: 10.08 MB / 3.082 GB, free: 10.98 MB / 2.061 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.09286/4.707, allocations: 56.91 MB / 3.137 GB, free: 1.359 MB / 2.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00826/4.715, allocations: 4.333 MB / 3.142 GB, free: 12.78 MB / 2.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003873/4.719, allocations: 2.295 MB / 3.144 GB, free: 10.41 MB / 2.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08717/4.806, allocations: 22.89 MB / 3.166 GB, free: 3.52 MB / 2.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/4.806, allocations: 123.4 kB / 3.166 GB, free: 3.391 MB / 2.139 GB Notification: Performance of pre-optimization done (n=412): time 1.131e-05/4.806, allocations: 0 / 3.166 GB, free: 3.391 MB / 2.139 GB Notification: Performance of matching and sorting (n=412): time 0.01632/4.823, allocations: 6.681 MB / 3.173 GB, free: 12.72 MB / 2.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004721/4.823, allocations: 0.7903 MB / 3.174 GB, free: 11.75 MB / 2.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02485/4.848, allocations: 11.97 MB / 3.185 GB, free: 15.87 MB / 2.17 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/4.849, allocations: 145.7 kB / 3.185 GB, free: 15.72 MB / 2.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.009482/4.859, allocations: 8.741 MB / 3.194 GB, free: 6.969 MB / 2.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.002342/4.861, allocations: 1.53 MB / 3.195 GB, free: 5.461 MB / 2.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003854/4.865, allocations: 1.504 MB / 3.197 GB, free: 3.945 MB / 2.17 GB Notification: Performance of setup shared object (initialization): time 0.0001315/4.865, allocations: 305.1 kB / 3.197 GB, free: 3.645 MB / 2.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004241/4.869, allocations: 2.086 MB / 3.199 GB, free: 1.555 MB / 2.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01024/4.879, allocations: 9.607 MB / 3.209 GB, free: 5.547 MB / 2.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/4.89, allocations: 7.134 MB / 3.216 GB, free: 13.32 MB / 2.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.719e-05/4.89, allocations: 24 kB / 3.216 GB, free: 13.3 MB / 2.201 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01851/4.909, allocations: 8.056 MB / 3.223 GB, free: 5.25 MB / 2.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.559e-05/4.909, allocations: 38.19 kB / 3.223 GB, free: 5.215 MB / 2.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/4.909, allocations: 87.75 kB / 3.224 GB, free: 5.133 MB / 2.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/4.909, allocations: 116 kB / 3.224 GB, free: 5.02 MB / 2.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005409/4.915, allocations: 1.455 MB / 3.225 GB, free: 3.562 MB / 2.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002237/4.915, allocations: 168 kB / 3.225 GB, free: 3.398 MB / 2.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008598/4.924, allocations: 0.7867 MB / 3.226 GB, free: 2.609 MB / 2.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/4.925, allocations: 399.9 kB / 3.226 GB, free: 2.219 MB / 2.201 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.008586/4.933, allocations: 3.58 MB / 3.23 GB, free: 14.63 MB / 2.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004704/4.938, allocations: 1.347 MB / 3.231 GB, free: 13.27 MB / 2.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/4.954, allocations: 7.463 MB / 3.238 GB, free: 5.945 MB / 2.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000175/4.954, allocations: 83.88 kB / 3.239 GB, free: 5.863 MB / 2.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.48e-05/4.954, allocations: 12 kB / 3.239 GB, free: 5.852 MB / 2.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005317/4.959, allocations: 3.885 MB / 3.242 GB, free: 1.656 MB / 2.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0496/5.009, allocations: 25.39 MB / 3.267 GB, free: 7.957 MB / 2.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001015/5.009, allocations: 32 kB / 3.267 GB, free: 7.926 MB / 2.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/5.012, allocations: 0.7722 MB / 3.268 GB, free: 7.152 MB / 2.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.293e-05/5.012, allocations: 55.98 kB / 3.268 GB, free: 7.098 MB / 2.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00055/5.013, allocations: 156.3 kB / 3.268 GB, free: 6.945 MB / 2.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.612e-05/5.013, allocations: 75.73 kB / 3.268 GB, free: 6.871 MB / 2.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.753e-05/5.013, allocations: 51.69 kB / 3.268 GB, free: 6.82 MB / 2.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/5.032, allocations: 11.75 MB / 3.28 GB, free: 10.51 MB / 2.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006269/5.039, allocations: 2.232 MB / 3.282 GB, free: 8.27 MB / 2.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002593/5.041, allocations: 151.7 kB / 3.282 GB, free: 8.121 MB / 2.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006503/5.048, allocations: 175.8 kB / 3.282 GB, free: 7.949 MB / 2.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006968/5.048, allocations: 414.5 kB / 3.283 GB, free: 7.543 MB / 2.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007493/5.049, allocations: 263.8 kB / 3.283 GB, free: 7.285 MB / 2.264 GB Notification: Performance of sorting global known variables: time 0.0184/5.068, allocations: 8.117 MB / 3.291 GB, free: 15.25 MB / 2.279 GB Notification: Performance of sort global known variables: time 1.8e-07/5.068, allocations: 4 kB / 3.291 GB, free: 15.25 MB / 2.279 GB Notification: Performance of remove unused functions: time 0.01982/5.087, allocations: 5.878 MB / 3.297 GB, free: 9.352 MB / 2.279 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.01157/5.099, allocations: 4.39 MB / 3.301 GB, free: 5.332 MB / 2.279 GB Notification: Performance of simCode: created initialization part: time 0.5738/5.673, allocations: 5.529 MB / 3.306 GB, free: 1.131 GB / 2.279 GB Notification: Performance of simCode: created event and clocks part: time 4.004e-05/5.673, allocations: 7.312 kB / 3.306 GB, free: 1.131 GB / 2.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004652/5.677, allocations: 2.472 MB / 3.309 GB, free: 1.131 GB / 2.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02935/5.707, allocations: 5.893 MB / 3.314 GB, free: 1.131 GB / 2.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04843/5.755, allocations: 27.96 MB / 3.342 GB, free: 1.118 GB / 2.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01535/5.771, allocations: 7.528 MB / 3.349 GB, free: 1.116 GB / 2.279 GB Notification: Performance of simCode: alias equations: time 0.01252/5.783, allocations: 2.585 MB / 3.352 GB, free: 1.116 GB / 2.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003015/5.786, allocations: 0.8399 MB / 3.352 GB, free: 1.116 GB / 2.279 GB Notification: Performance of SimCode: time 1.062e-06/5.786, allocations: 0 / 3.352 GB, free: 1.116 GB / 2.279 GB Notification: Performance of Templates: time 0.3628/6.149, allocations: 259.6 MB / 3.606 GB, free: 0.9111 GB / 2.279 GB " [Timeout remaining time 294] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 23.241151254973374]