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.001603/0.001603, allocations: 110.2 kB / 19.69 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.00179/0.00179, allocations: 216.3 kB / 23.01 MB, free: 4.566 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.23 MB / 206.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 3.202/3.202, allocations: 0.49 GB / 0.7958 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] 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.002306/0.002306, allocations: 67.67 kB / 1.155 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.399, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.432/3.831, allocations: 1.4 GB / 2.727 GB, free: 12.05 MB / 1.717 GB Notification: Performance of NFInst.instExpressions: time 2.02/5.851, allocations: 338.6 MB / 3.058 GB, free: 39.41 MB / 1.998 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06321/5.915, allocations: 1.691 MB / 3.059 GB, free: 39.41 MB / 1.998 GB Notification: Performance of NFTyping.typeComponents: time 0.04254/5.957, allocations: 13.71 MB / 3.073 GB, free: 39.41 MB / 1.998 GB Notification: Performance of NFTyping.typeBindings: time 0.1053/6.063, allocations: 34.3 MB / 3.106 GB, free: 39.16 MB / 1.998 GB Notification: Performance of NFTyping.typeClassSections: time 0.05667/6.119, allocations: 20.97 MB / 3.127 GB, free: 38.45 MB / 1.998 GB Notification: Performance of NFFlatten.flatten: time 0.1044/6.224, allocations: 58.7 MB / 3.184 GB, free: 38.32 MB / 1.998 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05653/6.28, allocations: 16.93 MB / 3.201 GB, free: 37.01 MB / 1.998 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08286/6.363, allocations: 28.85 MB / 3.229 GB, free: 35.4 MB / 1.998 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04559/6.409, allocations: 18.27 MB / 3.247 GB, free: 31.74 MB / 1.998 GB Notification: Performance of NFPackage.collectConstants: time 0.01526/6.424, allocations: 2.133 MB / 3.249 GB, free: 31.74 MB / 1.998 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05527/6.479, allocations: 18.68 MB / 3.267 GB, free: 31.52 MB / 1.998 GB Notification: Performance of NFScalarize.scalarize: time 0.01246/6.492, allocations: 5.102 MB / 3.272 GB, free: 30.58 MB / 1.998 GB Notification: Performance of NFVerifyModel.verify: time 0.03351/6.525, allocations: 11.21 MB / 3.283 GB, free: 27.61 MB / 1.998 GB Notification: Performance of NFConvertDAE.convert: time 0.08846/6.614, allocations: 41.59 MB / 3.324 GB, free: 8.852 MB / 1.998 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/6.614, allocations: 0 / 3.324 GB, free: 8.852 MB / 1.998 GB Notification: Performance of FrontEnd: time 2.875e-06/6.614, allocations: 0 / 3.324 GB, free: 8.852 MB / 1.998 GB Notification: Performance of Transformations before backend: time 0.001384/6.615, allocations: 3.938 kB / 3.324 GB, free: 8.848 MB / 1.998 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.06912/6.684, allocations: 21.53 MB / 3.345 GB, free: 13.62 MB / 2.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/6.684, allocations: 12.72 kB / 3.345 GB, free: 13.62 MB / 2.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/6.697, allocations: 2.36 MB / 3.347 GB, free: 12.43 MB / 2.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04928/6.746, allocations: 18.89 MB / 3.365 GB, free: 14.89 MB / 2.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001437/6.747, allocations: 0.9763 MB / 3.366 GB, free: 13.92 MB / 2.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006024/6.753, allocations: 1.293 MB / 3.368 GB, free: 12.62 MB / 2.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05147/6.805, allocations: 14.62 MB / 3.382 GB, free: 13.36 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005815/6.805, allocations: 46.36 kB / 3.382 GB, free: 13.34 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004277/6.81, allocations: 0.5335 MB / 3.382 GB, free: 12.81 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004246/6.81, allocations: 343 kB / 3.383 GB, free: 12.48 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02559/6.836, allocations: 10.1 MB / 3.393 GB, free: 2.613 MB / 2.045 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.1294/6.965, allocations: 76.24 MB / 3.467 GB, free: 3.586 MB / 2.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008563/6.974, allocations: 4.35 MB / 3.471 GB, free: 15.05 MB / 2.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004364/6.978, allocations: 2.297 MB / 3.474 GB, free: 12.69 MB / 2.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08036/7.058, allocations: 22.81 MB / 3.496 GB, free: 5.941 MB / 2.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/7.059, allocations: 123.8 kB / 3.496 GB, free: 5.824 MB / 2.154 GB Notification: Performance of pre-optimization done (n=412): time 6.442e-06/7.059, allocations: 0 / 3.496 GB, free: 5.824 MB / 2.154 GB Notification: Performance of matching and sorting (n=412): time 0.02425/7.083, allocations: 7.084 MB / 3.503 GB, free: 14.79 MB / 2.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000598/7.084, allocations: 0.7925 MB / 3.504 GB, free: 13.83 MB / 2.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04609/7.13, allocations: 16.75 MB / 3.52 GB, free: 13.18 MB / 2.186 GB Notification: Performance of collectPreVariables (initialization): time 0.001753/7.131, allocations: 149.6 kB / 3.52 GB, free: 13.03 MB / 2.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.01535/7.147, allocations: 8.69 MB / 3.529 GB, free: 4.336 MB / 2.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.003206/7.15, allocations: 1.532 MB / 3.53 GB, free: 2.824 MB / 2.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00431/7.154, allocations: 1.496 MB / 3.532 GB, free: 1.32 MB / 2.186 GB Notification: Performance of setup shared object (initialization): time 0.000146/7.154, allocations: 301.1 kB / 3.532 GB, free: 1.023 MB / 2.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004132/7.159, allocations: 2.094 MB / 3.534 GB, free: 14.93 MB / 2.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008864/7.167, allocations: 5.28 MB / 3.539 GB, free: 8.352 MB / 2.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/7.179, allocations: 7.138 MB / 3.546 GB, free: 464 kB / 2.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001051/7.179, allocations: 24 kB / 3.546 GB, free: 440 kB / 2.201 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02609/7.206, allocations: 8.463 MB / 3.554 GB, free: 8.453 MB / 2.217 GB Notification: Performance of prepare postOptimizeDAE: time 8.583e-05/7.206, allocations: 40.88 kB / 3.554 GB, free: 8.414 MB / 2.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/7.206, allocations: 84 kB / 3.554 GB, free: 8.332 MB / 2.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/7.206, allocations: 116 kB / 3.555 GB, free: 8.219 MB / 2.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005821/7.212, allocations: 1.459 MB / 3.556 GB, free: 6.871 MB / 2.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002409/7.212, allocations: 171.4 kB / 3.556 GB, free: 6.738 MB / 2.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01484/7.227, allocations: 1.352 MB / 3.557 GB, free: 5.379 MB / 2.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002104/7.229, allocations: 395.9 kB / 3.558 GB, free: 4.992 MB / 2.217 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.0117/7.241, allocations: 3.571 MB / 3.561 GB, free: 1.52 MB / 2.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007303/7.248, allocations: 1.758 MB / 3.563 GB, free: 15.75 MB / 2.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02051/7.269, allocations: 7.706 MB / 3.571 GB, free: 8.117 MB / 2.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002385/7.269, allocations: 79.94 kB / 3.571 GB, free: 8.039 MB / 2.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.152e-05/7.269, allocations: 12 kB / 3.571 GB, free: 8.027 MB / 2.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006183/7.275, allocations: 3.892 MB / 3.574 GB, free: 3.84 MB / 2.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06836/7.343, allocations: 28.93 MB / 3.603 GB, free: 6.801 MB / 2.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.652e-05/7.343, allocations: 32.22 kB / 3.603 GB, free: 6.77 MB / 2.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/7.347, allocations: 0.7784 MB / 3.603 GB, free: 6.043 MB / 2.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.744e-05/7.347, allocations: 52 kB / 3.604 GB, free: 5.992 MB / 2.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006055/7.347, allocations: 156 kB / 3.604 GB, free: 5.84 MB / 2.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.684e-05/7.347, allocations: 74.31 kB / 3.604 GB, free: 5.781 MB / 2.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.243e-05/7.347, allocations: 44.56 kB / 3.604 GB, free: 5.75 MB / 2.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02335/7.371, allocations: 12.23 MB / 3.616 GB, free: 8.973 MB / 2.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01151/7.382, allocations: 2.857 MB / 3.619 GB, free: 6.102 MB / 2.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00629/7.389, allocations: 159.6 kB / 3.619 GB, free: 5.945 MB / 2.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01153/7.4, allocations: 255.5 kB / 3.619 GB, free: 5.695 MB / 2.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001307/7.401, allocations: 415.8 kB / 3.619 GB, free: 5.312 MB / 2.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008157/7.402, allocations: 259.8 kB / 3.62 GB, free: 5.059 MB / 2.279 GB Notification: Performance of sorting global known variables: time 0.0321/7.434, allocations: 11.91 MB / 3.631 GB, free: 9.254 MB / 2.295 GB Notification: Performance of sort global known variables: time 2.11e-07/7.434, allocations: 0 / 3.631 GB, free: 9.254 MB / 2.295 GB Notification: Performance of remove unused functions: time 0.02624/7.461, allocations: 5.43 MB / 3.637 GB, free: 3.812 MB / 2.295 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.01444/7.475, allocations: 4.415 MB / 3.641 GB, free: 15.82 MB / 2.311 GB Notification: Performance of simCode: created initialization part: time 0.0131/7.488, allocations: 5.531 MB / 3.646 GB, free: 10.61 MB / 2.311 GB Notification: Performance of simCode: created event and clocks part: time 4.693e-05/7.488, allocations: 8 kB / 3.646 GB, free: 10.6 MB / 2.311 GB Notification: Performance of simCode: created simulation system equations: time 0.005378/7.494, allocations: 2.464 MB / 3.649 GB, free: 8.297 MB / 2.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05758/7.551, allocations: 10 MB / 3.658 GB, free: 14.46 MB / 2.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06796/7.619, allocations: 28.75 MB / 3.686 GB, free: 1.555 MB / 2.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01793/7.637, allocations: 7.537 MB / 3.694 GB, free: 9.984 MB / 2.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004434/7.641, allocations: 1.12 MB / 3.695 GB, free: 8.863 MB / 2.357 GB Notification: Performance of SimCode: time 1.303e-06/7.641, allocations: 2.906 kB / 3.695 GB, free: 8.863 MB / 2.357 GB Notification: Performance of Templates: time 1.915/9.557, allocations: 321.5 MB / 4.009 GB, free: 1.396 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/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: 80.41183225999703]