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.001927/0.001927, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002255/0.002255, allocations: 219.3 kB / 23.01 MB, free: 4.609 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.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 3.284/3.284, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] 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.003043/0.003043, allocations: 72.27 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3531, allocations: 180.2 MB / 1.354 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.275/3.628, allocations: 1.4 GB / 2.754 GB, free: 7.738 MB / 1.748 GB Notification: Performance of NFInst.instExpressions: time 1.769/5.397, allocations: 338.6 MB / 3.085 GB, free: 48.2 MB / 2.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06035/5.457, allocations: 1.692 MB / 3.086 GB, free: 48.2 MB / 2.029 GB Notification: Performance of NFTyping.typeComponents: time 0.04394/5.501, allocations: 13.71 MB / 3.1 GB, free: 48.19 MB / 2.029 GB Notification: Performance of NFTyping.typeBindings: time 0.1027/5.604, allocations: 34.29 MB / 3.133 GB, free: 47.89 MB / 2.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.05474/5.659, allocations: 20.98 MB / 3.154 GB, free: 47.16 MB / 2.029 GB Notification: Performance of NFFlatten.flatten: time 0.09599/5.755, allocations: 58.69 MB / 3.211 GB, free: 47.03 MB / 2.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05382/5.808, allocations: 16.94 MB / 3.228 GB, free: 45.71 MB / 2.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07509/5.884, allocations: 28.86 MB / 3.256 GB, free: 44.16 MB / 2.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04278/5.926, allocations: 18.26 MB / 3.274 GB, free: 40.5 MB / 2.029 GB Notification: Performance of NFPackage.collectConstants: time 0.01048/5.937, allocations: 2.133 MB / 3.276 GB, free: 40.5 MB / 2.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05419/5.991, allocations: 18.69 MB / 3.294 GB, free: 40.27 MB / 2.029 GB Notification: Performance of NFScalarize.scalarize: time 0.01158/6.003, allocations: 5.1 MB / 3.299 GB, free: 39.34 MB / 2.029 GB Notification: Performance of NFVerifyModel.verify: time 0.02836/6.031, allocations: 11.21 MB / 3.31 GB, free: 36.36 MB / 2.029 GB Notification: Performance of NFConvertDAE.convert: time 0.07876/6.11, allocations: 41.58 MB / 3.35 GB, free: 17.04 MB / 2.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/6.11, allocations: 0 / 3.35 GB, free: 17.04 MB / 2.029 GB Notification: Performance of FrontEnd: time 1.934e-06/6.11, allocations: 3.938 kB / 3.35 GB, free: 17.04 MB / 2.029 GB Notification: Performance of Transformations before backend: time 0.001292/6.111, allocations: 0 / 3.35 GB, free: 17.04 MB / 2.029 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.06747/6.178, allocations: 21.53 MB / 3.372 GB, free: 5.816 MB / 2.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/6.179, allocations: 14.97 kB / 3.372 GB, free: 5.812 MB / 2.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/6.19, allocations: 2.364 MB / 3.374 GB, free: 4.359 MB / 2.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04815/6.238, allocations: 18.89 MB / 3.392 GB, free: 5.289 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001296/6.24, allocations: 0.9724 MB / 3.393 GB, free: 4.316 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005907/6.246, allocations: 1.295 MB / 3.394 GB, free: 3.023 MB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05003/6.296, allocations: 14.61 MB / 3.409 GB, free: 3.77 MB / 2.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007493/6.296, allocations: 46.92 kB / 3.409 GB, free: 3.746 MB / 2.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004882/6.301, allocations: 0.5377 MB / 3.409 GB, free: 3.211 MB / 2.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004686/6.302, allocations: 346.6 kB / 3.41 GB, free: 2.875 MB / 2.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02781/6.33, allocations: 10.09 MB / 3.42 GB, free: 9.02 MB / 2.076 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.1302/6.46, allocations: 76.25 MB / 3.494 GB, free: 10 MB / 2.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008359/6.468, allocations: 4.363 MB / 3.498 GB, free: 5.461 MB / 2.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004081/6.472, allocations: 2.291 MB / 3.5 GB, free: 3.105 MB / 2.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07962/6.552, allocations: 22.82 MB / 3.523 GB, free: 12.34 MB / 2.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/6.552, allocations: 110.1 kB / 3.523 GB, free: 12.24 MB / 2.186 GB Notification: Performance of pre-optimization done (n=412): time 1.02e-05/6.552, allocations: 7.938 kB / 3.523 GB, free: 12.23 MB / 2.186 GB Notification: Performance of matching and sorting (n=412): time 0.01975/6.572, allocations: 7.084 MB / 3.53 GB, free: 5.195 MB / 2.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004449/6.572, allocations: 0.7921 MB / 3.531 GB, free: 4.234 MB / 2.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04143/6.614, allocations: 16.75 MB / 3.547 GB, free: 3.582 MB / 2.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001574/6.615, allocations: 141.7 kB / 3.547 GB, free: 3.438 MB / 2.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.01388/6.629, allocations: 8.698 MB / 3.556 GB, free: 10.79 MB / 2.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.003008/6.632, allocations: 1.537 MB / 3.557 GB, free: 9.27 MB / 2.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003532/6.636, allocations: 1.496 MB / 3.559 GB, free: 7.766 MB / 2.217 GB Notification: Performance of setup shared object (initialization): time 0.0001239/6.636, allocations: 305.1 kB / 3.559 GB, free: 7.465 MB / 2.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004038/6.64, allocations: 2.09 MB / 3.561 GB, free: 5.371 MB / 2.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008037/6.648, allocations: 5.281 MB / 3.566 GB, free: 14.8 MB / 2.233 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/6.659, allocations: 7.145 MB / 3.573 GB, free: 6.895 MB / 2.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/6.659, allocations: 30.47 kB / 3.573 GB, free: 6.867 MB / 2.233 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0248/6.684, allocations: 8.458 MB / 3.581 GB, free: 14.89 MB / 2.248 GB Notification: Performance of prepare postOptimizeDAE: time 8.548e-05/6.684, allocations: 40.94 kB / 3.581 GB, free: 14.86 MB / 2.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/6.684, allocations: 80 kB / 3.581 GB, free: 14.78 MB / 2.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001607/6.684, allocations: 120 kB / 3.582 GB, free: 14.66 MB / 2.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005665/6.69, allocations: 1.463 MB / 3.583 GB, free: 13.31 MB / 2.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002088/6.69, allocations: 173.6 kB / 3.583 GB, free: 13.17 MB / 2.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01386/6.704, allocations: 1.347 MB / 3.584 GB, free: 11.82 MB / 2.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001942/6.706, allocations: 395.9 kB / 3.585 GB, free: 11.43 MB / 2.248 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.01159/6.718, allocations: 3.582 MB / 3.588 GB, free: 7.945 MB / 2.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007292/6.725, allocations: 1.754 MB / 3.59 GB, free: 6.18 MB / 2.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01968/6.745, allocations: 7.703 MB / 3.598 GB, free: 14.65 MB / 2.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002391/6.745, allocations: 79.94 kB / 3.598 GB, free: 14.57 MB / 2.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.505e-05/6.745, allocations: 15.94 kB / 3.598 GB, free: 14.56 MB / 2.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00583/6.751, allocations: 3.884 MB / 3.601 GB, free: 10.38 MB / 2.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06169/6.812, allocations: 28.93 MB / 3.63 GB, free: 13.34 MB / 2.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.644e-05/6.812, allocations: 28.22 kB / 3.63 GB, free: 13.31 MB / 2.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/6.815, allocations: 0.7798 MB / 3.63 GB, free: 12.58 MB / 2.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.356e-05/6.815, allocations: 52 kB / 3.631 GB, free: 12.53 MB / 2.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003726/6.816, allocations: 155.9 kB / 3.631 GB, free: 12.38 MB / 2.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.664e-05/6.816, allocations: 74.88 kB / 3.631 GB, free: 12.32 MB / 2.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.509e-05/6.816, allocations: 48.38 kB / 3.631 GB, free: 12.29 MB / 2.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/6.836, allocations: 12.22 MB / 3.643 GB, free: 15.51 MB / 2.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01048/6.846, allocations: 2.862 MB / 3.645 GB, free: 12.64 MB / 2.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005273/6.852, allocations: 155.7 kB / 3.646 GB, free: 12.48 MB / 2.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01056/6.862, allocations: 259.6 kB / 3.646 GB, free: 12.23 MB / 2.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/6.863, allocations: 425 kB / 3.646 GB, free: 11.84 MB / 2.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007884/6.864, allocations: 259.8 kB / 3.647 GB, free: 11.59 MB / 2.311 GB Notification: Performance of sorting global known variables: time 0.02962/6.894, allocations: 11.9 MB / 3.658 GB, free: 15.79 MB / 2.326 GB Notification: Performance of sort global known variables: time 2.21e-07/6.894, allocations: 0 / 3.658 GB, free: 15.79 MB / 2.326 GB Notification: Performance of remove unused functions: time 0.02288/6.917, allocations: 5.426 MB / 3.663 GB, free: 10.35 MB / 2.326 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.01342/6.93, allocations: 4.406 MB / 3.668 GB, free: 6.395 MB / 2.326 GB Notification: Performance of simCode: created initialization part: time 0.0125/6.943, allocations: 5.525 MB / 3.673 GB, free: 1.195 MB / 2.326 GB Notification: Performance of simCode: created event and clocks part: time 4.1e-05/6.943, allocations: 11.91 kB / 3.673 GB, free: 1.184 MB / 2.326 GB Notification: Performance of simCode: created simulation system equations: time 0.005019/6.948, allocations: 2.462 MB / 3.676 GB, free: 14.88 MB / 2.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05713/7.005, allocations: 10.01 MB / 3.685 GB, free: 5.258 MB / 2.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06474/7.07, allocations: 28.76 MB / 3.713 GB, free: 8.348 MB / 2.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01521/7.085, allocations: 7.535 MB / 3.721 GB, free: 0.7773 MB / 2.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004275/7.089, allocations: 1.123 MB / 3.722 GB, free: 15.65 MB / 2.389 GB Notification: Performance of SimCode: time 1.372e-06/7.089, allocations: 4 kB / 3.722 GB, free: 15.65 MB / 2.389 GB Notification: Performance of Templates: time 2.042/9.132, allocations: 321.5 MB / 4.036 GB, free: 1.407 GB / 2.608 GB " [Timeout remaining time 291] 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 -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: 76.3708779719891]