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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002435/0.002435, allocations: 192.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.4/3.4, allocations: 496 MB / 0.7835 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001964/0.001964, allocations: 74.88 kB / 1.138 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3733, allocations: 173.6 MB / 1.307 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.203/3.577, allocations: 1.395 GB / 2.702 GB, free: 26.8 MB / 1.701 GB Notification: Performance of NFInst.instExpressions: time 1.941/5.518, allocations: 337.9 MB / 3.032 GB, free: 28.56 MB / 1.982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07017/5.588, allocations: 1.679 MB / 3.034 GB, free: 28.56 MB / 1.982 GB Notification: Performance of NFTyping.typeComponents: time 0.04454/5.633, allocations: 13.72 MB / 3.047 GB, free: 28.55 MB / 1.982 GB Notification: Performance of NFTyping.typeBindings: time 0.1115/5.744, allocations: 34.19 MB / 3.081 GB, free: 28.31 MB / 1.982 GB Notification: Performance of NFTyping.typeClassSections: time 0.05785/5.802, allocations: 20.97 MB / 3.101 GB, free: 27.72 MB / 1.982 GB Notification: Performance of NFFlatten.flatten: time 0.111/5.913, allocations: 58.64 MB / 3.159 GB, free: 27.59 MB / 1.982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06619/5.979, allocations: 16.93 MB / 3.175 GB, free: 26.27 MB / 1.982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09595/6.075, allocations: 28.47 MB / 3.203 GB, free: 24.68 MB / 1.982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05016/6.125, allocations: 18.26 MB / 3.221 GB, free: 21.03 MB / 1.982 GB Notification: Performance of NFPackage.collectConstants: time 0.01329/6.139, allocations: 2.13 MB / 3.223 GB, free: 21.03 MB / 1.982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0628/6.201, allocations: 18.4 MB / 3.241 GB, free: 20.81 MB / 1.982 GB Notification: Performance of NFScalarize.scalarize: time 0.01597/6.217, allocations: 5.105 MB / 3.246 GB, free: 19.87 MB / 1.982 GB Notification: Performance of NFVerifyModel.verify: time 0.03677/6.254, allocations: 11.19 MB / 3.257 GB, free: 16.91 MB / 1.982 GB Notification: Performance of NFConvertDAE.convert: time 0.1023/6.356, allocations: 41.26 MB / 3.297 GB, free: 0 / 1.982 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/6.356, allocations: 2.656 kB / 3.297 GB, free: 0 / 1.982 GB Notification: Performance of FrontEnd: time 2.375e-06/6.356, allocations: 64 / 3.297 GB, free: 0 / 1.982 GB Notification: Performance of Transformations before backend: time 0.001471/6.358, allocations: 64 / 3.297 GB, free: 0 / 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.07628/6.434, allocations: 21.49 MB / 3.318 GB, free: 4.809 MB / 1.998 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/6.434, allocations: 14.36 kB / 3.318 GB, free: 4.805 MB / 1.998 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/6.448, allocations: 2.354 MB / 3.32 GB, free: 3.613 MB / 1.998 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05281/6.5, allocations: 18.78 MB / 3.339 GB, free: 12.06 MB / 2.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001458/6.502, allocations: 0.9703 MB / 3.34 GB, free: 11.5 MB / 2.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006302/6.508, allocations: 1.3 MB / 3.341 GB, free: 10.61 MB / 2.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05328/6.562, allocations: 14.61 MB / 3.355 GB, free: 13.08 MB / 2.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006809/6.562, allocations: 41.84 kB / 3.355 GB, free: 13.06 MB / 2.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004871/6.567, allocations: 0.5375 MB / 3.356 GB, free: 12.52 MB / 2.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005208/6.568, allocations: 349 kB / 3.356 GB, free: 12.19 MB / 2.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03065/6.598, allocations: 10.1 MB / 3.366 GB, free: 2.324 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.1351/6.733, allocations: 76.24 MB / 3.44 GB, free: 3.305 MB / 2.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009037/6.742, allocations: 4.366 MB / 3.445 GB, free: 14.76 MB / 2.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00442/6.747, allocations: 2.298 MB / 3.447 GB, free: 12.39 MB / 2.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07838/6.825, allocations: 21.99 MB / 3.468 GB, free: 6.473 MB / 2.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/6.825, allocations: 124.4 kB / 3.468 GB, free: 6.355 MB / 2.139 GB Notification: Performance of pre-optimization done (n=412): time 1.658e-05/6.825, allocations: 0 / 3.468 GB, free: 6.355 MB / 2.139 GB Notification: Performance of matching and sorting (n=412): time 0.02409/6.849, allocations: 7.073 MB / 3.475 GB, free: 15.34 MB / 2.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005431/6.85, allocations: 0.8027 MB / 3.476 GB, free: 14.37 MB / 2.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05008/6.9, allocations: 16.71 MB / 3.492 GB, free: 13.76 MB / 2.17 GB Notification: Performance of collectPreVariables (initialization): time 0.001715/6.902, allocations: 145.7 kB / 3.493 GB, free: 13.61 MB / 2.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.01488/6.917, allocations: 8.678 MB / 3.501 GB, free: 4.926 MB / 2.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.003229/6.92, allocations: 1.54 MB / 3.503 GB, free: 3.406 MB / 2.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006689/6.927, allocations: 1.496 MB / 3.504 GB, free: 1.902 MB / 2.17 GB Notification: Performance of setup shared object (initialization): time 0.0001581/6.927, allocations: 305.1 kB / 3.504 GB, free: 1.602 MB / 2.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005142/6.932, allocations: 2.087 MB / 3.506 GB, free: 15.51 MB / 2.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/6.942, allocations: 5.284 MB / 3.512 GB, free: 8.93 MB / 2.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/6.955, allocations: 7.146 MB / 3.519 GB, free: 1.023 MB / 2.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/6.955, allocations: 24 kB / 3.519 GB, free: 1 MB / 2.186 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0248/6.979, allocations: 8.465 MB / 3.527 GB, free: 9.02 MB / 2.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001527/6.98, allocations: 40 kB / 3.527 GB, free: 8.98 MB / 2.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/6.98, allocations: 84.09 kB / 3.527 GB, free: 8.898 MB / 2.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/6.98, allocations: 116 kB / 3.527 GB, free: 8.785 MB / 2.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006272/6.986, allocations: 1.458 MB / 3.528 GB, free: 7.438 MB / 2.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002585/6.986, allocations: 177.3 kB / 3.529 GB, free: 7.297 MB / 2.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01655/7.003, allocations: 1.351 MB / 3.53 GB, free: 5.941 MB / 2.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002833/7.006, allocations: 391.9 kB / 3.53 GB, free: 5.559 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.01304/7.019, allocations: 3.581 MB / 3.534 GB, free: 2.074 MB / 2.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007969/7.027, allocations: 1.747 MB / 3.536 GB, free: 324 kB / 2.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02204/7.049, allocations: 7.703 MB / 3.543 GB, free: 8.691 MB / 2.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003075/7.049, allocations: 83.94 kB / 3.543 GB, free: 8.609 MB / 2.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-05/7.049, allocations: 11.94 kB / 3.543 GB, free: 8.598 MB / 2.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006495/7.056, allocations: 3.885 MB / 3.547 GB, free: 4.418 MB / 2.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07703/7.133, allocations: 28.92 MB / 3.575 GB, free: 7.383 MB / 2.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001378/7.133, allocations: 28 kB / 3.575 GB, free: 7.355 MB / 2.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003564/7.137, allocations: 0.7722 MB / 3.576 GB, free: 6.633 MB / 2.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/7.137, allocations: 52 kB / 3.576 GB, free: 6.582 MB / 2.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009081/7.138, allocations: 155.9 kB / 3.576 GB, free: 6.43 MB / 2.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.218e-05/7.138, allocations: 74.22 kB / 3.576 GB, free: 6.371 MB / 2.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.69e-05/7.138, allocations: 47.72 kB / 3.576 GB, free: 6.336 MB / 2.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02725/7.165, allocations: 12.23 MB / 3.588 GB, free: 9.555 MB / 2.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01318/7.178, allocations: 2.869 MB / 3.591 GB, free: 6.668 MB / 2.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006914/7.185, allocations: 155.7 kB / 3.591 GB, free: 6.516 MB / 2.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01183/7.197, allocations: 244 kB / 3.591 GB, free: 6.277 MB / 2.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001502/7.198, allocations: 419.3 kB / 3.592 GB, free: 5.898 MB / 2.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001393/7.2, allocations: 259.8 kB / 3.592 GB, free: 5.645 MB / 2.264 GB Notification: Performance of sorting global known variables: time 0.04031/7.24, allocations: 11.88 MB / 3.604 GB, free: 9.867 MB / 2.279 GB Notification: Performance of sort global known variables: time 4.21e-07/7.24, allocations: 0 / 3.604 GB, free: 9.867 MB / 2.279 GB Notification: Performance of remove unused functions: time 0.02975/7.27, allocations: 5.411 MB / 3.609 GB, free: 4.445 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.01805/7.288, allocations: 4.457 MB / 3.613 GB, free: 420 kB / 2.279 GB Notification: Performance of simCode: created initialization part: time 0.01568/7.304, allocations: 5.532 MB / 3.619 GB, free: 11.2 MB / 2.295 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-05/7.304, allocations: 8 kB / 3.619 GB, free: 11.19 MB / 2.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006305/7.31, allocations: 2.47 MB / 3.621 GB, free: 8.879 MB / 2.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06795/7.378, allocations: 10.01 MB / 3.631 GB, free: 15.04 MB / 2.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07842/7.456, allocations: 28.88 MB / 3.659 GB, free: 2.02 MB / 2.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02714/7.483, allocations: 7.771 MB / 3.667 GB, free: 10.2 MB / 2.342 GB Notification: Performance of simCode: alias equations: time 0.02177/7.505, allocations: 3.253 MB / 3.67 GB, free: 6.977 MB / 2.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005036/7.51, allocations: 1.073 MB / 3.671 GB, free: 5.906 MB / 2.342 GB Notification: Performance of SimCode: time 2.475e-06/7.51, allocations: 0 / 3.671 GB, free: 5.906 MB / 2.342 GB Notification: Performance of Templates: time 2.08/9.59, allocations: 361.1 MB / 4.024 GB, free: 1.403 GB / 2.576 GB " [Timeout remaining time 290] 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: 31.97428354807198]