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.001901/0.001901, allocations: 79.11 kB / 19.76 MB, free: 2.035 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.002261/0.002261, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.469/1.469, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.801/2.801, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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: 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: 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.002199/0.002199, allocations: 67.91 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7517/0.7539, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 1.898/2.652, allocations: 1.261 GB / 2.415 GB, free: 12.49 MB / 1.857 GB Notification: Performance of NFInst.instExpressions: time 1.181/3.833, allocations: 312.5 MB / 2.72 GB, free: 114.1 MB / 1.873 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03831/3.871, allocations: 1.693 MB / 2.722 GB, free: 114.1 MB / 1.873 GB Notification: Performance of NFTyping.typeComponents: time 0.03119/3.902, allocations: 13.44 MB / 2.735 GB, free: 110.4 MB / 1.873 GB Notification: Performance of NFTyping.typeBindings: time 0.08046/3.983, allocations: 33.93 MB / 2.768 GB, free: 99.32 MB / 1.873 GB Notification: Performance of NFTyping.typeClassSections: time 0.0428/4.025, allocations: 20.21 MB / 2.788 GB, free: 85.7 MB / 1.873 GB Notification: Performance of NFFlatten.flatten: time 0.06024/4.086, allocations: 58.38 MB / 2.845 GB, free: 51.84 MB / 1.873 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02862/4.114, allocations: 16.71 MB / 2.861 GB, free: 39.02 MB / 1.873 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05404/4.168, allocations: 29.1 MB / 2.889 GB, free: 11.62 MB / 1.873 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03205/4.2, allocations: 17.61 MB / 2.907 GB, free: 11.14 MB / 1.889 GB Notification: Performance of NFPackage.collectConstants: time 0.007418/4.208, allocations: 2.133 MB / 2.909 GB, free: 9.012 MB / 1.889 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04245/4.25, allocations: 15.58 MB / 2.924 GB, free: 10.01 MB / 1.904 GB Notification: Performance of NFScalarize.scalarize: time 0.008825/4.259, allocations: 5.113 MB / 2.929 GB, free: 4.961 MB / 1.904 GB Notification: Performance of NFVerifyModel.verify: time 0.01993/4.279, allocations: 8.722 MB / 2.937 GB, free: 12.27 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.07355/4.352, allocations: 41.27 MB / 2.978 GB, free: 4.297 MB / 1.951 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/4.352, allocations: 0 / 2.978 GB, free: 4.297 MB / 1.951 GB Notification: Performance of FrontEnd: time 1.423e-06/4.352, allocations: 4 kB / 2.978 GB, free: 4.293 MB / 1.951 GB Notification: Performance of Transformations before backend: time 0.0008724/4.353, allocations: 7.938 kB / 2.978 GB, free: 4.285 MB / 1.951 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.04521/4.399, allocations: 21.51 MB / 2.999 GB, free: 14.92 MB / 1.982 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/4.399, allocations: 12.03 kB / 2.999 GB, free: 14.91 MB / 1.982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007034/4.406, allocations: 2.357 MB / 3.001 GB, free: 12.54 MB / 1.982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03788/4.444, allocations: 18.9 MB / 3.019 GB, free: 9.895 MB / 1.998 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009253/4.444, allocations: 0.9699 MB / 3.02 GB, free: 8.926 MB / 1.998 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002429/4.447, allocations: 1.285 MB / 3.022 GB, free: 7.641 MB / 1.998 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02969/4.477, allocations: 17.06 MB / 3.038 GB, free: 5.23 MB / 2.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002783/4.477, allocations: 47.33 kB / 3.038 GB, free: 5.188 MB / 2.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001262/4.478, allocations: 0.534 MB / 3.039 GB, free: 4.656 MB / 2.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003401/4.478, allocations: 347.9 kB / 3.039 GB, free: 4.316 MB / 2.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02015/4.499, allocations: 10.08 MB / 3.049 GB, free: 10.27 MB / 2.029 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.08686/4.585, allocations: 56.92 MB / 3.105 GB, free: 0.6289 MB / 2.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008329/4.594, allocations: 4.346 MB / 3.109 GB, free: 12.04 MB / 2.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003891/4.598, allocations: 2.274 MB / 3.111 GB, free: 9.688 MB / 2.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08851/4.686, allocations: 22.9 MB / 3.133 GB, free: 2.789 MB / 2.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/4.686, allocations: 127.4 kB / 3.134 GB, free: 2.656 MB / 2.107 GB Notification: Performance of pre-optimization done (n=412): time 1.11e-05/4.686, allocations: 0 / 3.134 GB, free: 2.656 MB / 2.107 GB Notification: Performance of matching and sorting (n=412): time 0.01602/4.702, allocations: 6.688 MB / 3.14 GB, free: 11.97 MB / 2.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004786/4.703, allocations: 0.7825 MB / 3.141 GB, free: 11.01 MB / 2.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02284/4.726, allocations: 11.97 MB / 3.153 GB, free: 15.13 MB / 2.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0008675/4.727, allocations: 149.6 kB / 3.153 GB, free: 14.98 MB / 2.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00884/4.735, allocations: 8.734 MB / 3.161 GB, free: 6.234 MB / 2.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.002019/4.737, allocations: 1.536 MB / 3.163 GB, free: 4.719 MB / 2.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002381/4.74, allocations: 1.5 MB / 3.164 GB, free: 3.211 MB / 2.139 GB Notification: Performance of setup shared object (initialization): time 0.0001431/4.74, allocations: 305.1 kB / 3.164 GB, free: 2.91 MB / 2.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003723/4.744, allocations: 2.09 MB / 3.167 GB, free: 0.8164 MB / 2.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009768/4.753, allocations: 9.599 MB / 3.176 GB, free: 4.824 MB / 2.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/4.764, allocations: 7.143 MB / 3.183 GB, free: 12.59 MB / 2.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-05/4.764, allocations: 20 kB / 3.183 GB, free: 12.57 MB / 2.17 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01593/4.78, allocations: 8.056 MB / 3.191 GB, free: 4.52 MB / 2.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.611e-05/4.78, allocations: 40 kB / 3.191 GB, free: 4.48 MB / 2.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.856e-05/4.78, allocations: 83.94 kB / 3.191 GB, free: 4.398 MB / 2.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/4.78, allocations: 124 kB / 3.191 GB, free: 4.277 MB / 2.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004708/4.785, allocations: 1.455 MB / 3.192 GB, free: 2.82 MB / 2.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001626/4.785, allocations: 171.4 kB / 3.193 GB, free: 2.652 MB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007412/4.793, allocations: 0.7901 MB / 3.193 GB, free: 1.859 MB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007102/4.793, allocations: 395.9 kB / 3.194 GB, free: 1.473 MB / 2.17 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.00711/4.8, allocations: 3.576 MB / 3.197 GB, free: 13.88 MB / 2.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003668/4.804, allocations: 1.339 MB / 3.199 GB, free: 12.54 MB / 2.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/4.817, allocations: 7.448 MB / 3.206 GB, free: 5.125 MB / 2.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001154/4.817, allocations: 83.94 kB / 3.206 GB, free: 5.043 MB / 2.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/4.817, allocations: 8 kB / 3.206 GB, free: 5.035 MB / 2.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005024/4.822, allocations: 3.89 MB / 3.21 GB, free: 0.8359 MB / 2.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04242/4.865, allocations: 25.38 MB / 3.234 GB, free: 7.145 MB / 2.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.114e-05/4.865, allocations: 32.19 kB / 3.234 GB, free: 7.113 MB / 2.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002916/4.868, allocations: 0.7723 MB / 3.235 GB, free: 6.34 MB / 2.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.506e-05/4.868, allocations: 55.94 kB / 3.235 GB, free: 6.285 MB / 2.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003004/4.868, allocations: 159.9 kB / 3.235 GB, free: 6.129 MB / 2.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.002e-05/4.868, allocations: 67.73 kB / 3.236 GB, free: 6.062 MB / 2.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.743e-05/4.868, allocations: 47.81 kB / 3.236 GB, free: 6.016 MB / 2.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01751/4.886, allocations: 11.75 MB / 3.247 GB, free: 9.688 MB / 2.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005459/4.891, allocations: 2.229 MB / 3.249 GB, free: 7.453 MB / 2.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/4.893, allocations: 159.6 kB / 3.249 GB, free: 7.297 MB / 2.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004608/4.897, allocations: 171.8 kB / 3.25 GB, free: 7.129 MB / 2.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000574/4.898, allocations: 414.5 kB / 3.25 GB, free: 6.723 MB / 2.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004874/4.898, allocations: 259.8 kB / 3.25 GB, free: 6.469 MB / 2.232 GB Notification: Performance of sorting global known variables: time 0.01413/4.912, allocations: 8.117 MB / 3.258 GB, free: 14.43 MB / 2.248 GB Notification: Performance of sort global known variables: time 1.3e-07/4.912, allocations: 0 / 3.258 GB, free: 14.43 MB / 2.248 GB Notification: Performance of remove unused functions: time 0.01748/4.93, allocations: 5.886 MB / 3.264 GB, free: 8.531 MB / 2.248 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.009845/4.94, allocations: 4.404 MB / 3.268 GB, free: 4.488 MB / 2.248 GB Notification: Performance of simCode: created initialization part: time 0.01023/4.95, allocations: 5.519 MB / 3.274 GB, free: 14.99 MB / 2.264 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-05/4.95, allocations: 13.47 kB / 3.274 GB, free: 14.98 MB / 2.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00413/4.954, allocations: 2.464 MB / 3.276 GB, free: 12.52 MB / 2.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0274/4.982, allocations: 5.889 MB / 3.282 GB, free: 6.809 MB / 2.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.029/6.01, allocations: 27.96 MB / 3.309 GB, free: 1.117 GB / 2.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009003/6.019, allocations: 7.53 MB / 3.316 GB, free: 1.116 GB / 2.264 GB Notification: Performance of simCode: alias equations: time 0.009074/6.028, allocations: 2.585 MB / 3.319 GB, free: 1.116 GB / 2.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/6.03, allocations: 0.84 MB / 3.32 GB, free: 1.116 GB / 2.264 GB Notification: Performance of SimCode: time 9.02e-07/6.03, allocations: 0 / 3.32 GB, free: 1.116 GB / 2.264 GB Notification: Performance of Templates: time 0.3535/6.384, allocations: 259.6 MB / 3.573 GB, free: 0.9392 GB / 2.264 GB " [Timeout remaining time 294] 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 -s ida -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/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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.244219927932136]