Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ModeAlternation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005499/0.0005499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007444/0.001294, allocations: 0 / 0, free: 0 / 0 " [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.0006704/0.0006704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007351/0.001405, allocations: 0 / 0, free: 0 / 0 " [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 0.2654/0.2654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.05402/0.3194, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 0.5902/0.5902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1421/0.7323, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: simulate(Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ModeAlternation,startTime=0,stopTime=150,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|nHea.y.[0-9,]+.|nCoo.y.[0-9,]+.|nShc.y.[0-9,]+.|u1Hea.y.[0-9,]+.|u1Coo.y.[0-9,]+.|u1Shc.y.[0-9,]+.|selModPhp.yIdxSorHea.[0-9,]+.|selModPhp.yIdxSorCoo.[0-9,]+.|selModPhp.yIdxSorShc.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ModeAlternation",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") simulate(Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ModeAlternation,startTime=0,stopTime=150,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|nHea.y.[0-9,]+.|nCoo.y.[0-9,]+.|nShc.y.[0-9,]+.|u1Hea.y.[0-9,]+.|u1Coo.y.[0-9,]+.|u1Shc.y.[0-9,]+.|selModPhp.yIdxSorHea.[0-9,]+.|selModPhp.yIdxSorCoo.[0-9,]+.|selModPhp.yIdxSorShc.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ModeAlternation",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 6.92e-07/6.92e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.014e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ModeAlternation): time 0.003164/0.003184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003687/0.006872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.007137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001013/0.00815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.000465/0.008615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.01007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001879/0.01195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.0136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.01556, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.01664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0003495/0.01699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0005188/0.0175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0008149/0.01832, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0007821/0.0191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002859/0.02196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.000357/0.02232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.594e-06/0.02232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.933e-05/0.02235, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004279/0.02663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001463/0.02677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006291/0.0274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.02906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.02931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/0.02975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/0.03301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/0.03305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.03329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.954e-05/0.03335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.03477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008002/0.04277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.04392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.04434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.502e-05/0.04439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.0455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=168): time 1.493e-05/0.04552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=168): time 0.001644/0.04716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.04722, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.04863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0003696/0.049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005474/0.04954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.04978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008832/0.05066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.378e-05/0.05069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.05115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.05243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.05389, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/0.0539, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=278) (initialization): time 0.001772/0.05568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.0557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.05573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-05/0.05578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/0.0566, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.866e-05/0.05666, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009649/0.05762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/0.05789, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 116 * Number of states: 0 () * Number of discrete variables: 242 (selModPhp.remShc.extIdx[2].u[2],selModPhp.remShc.extIdx[2].u[1],selModPhp.remShc.reaToInt[2].y,selModPhp.yIdxSorShc[2],$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,u1Shc.intTimTab.idx,$PRE.u1Shc.intTimTab.idx,u1Shc.intTimTab.y[2],$PRE.u1Shc.intTimTab.y[2],u1Shc.intTimTab.y[1],$PRE.u1Shc.intTimTab.y[1],selModPhp.preShc[2].u,selModPhp.preShc[1].u,u1Coo.intTimTab.idx,$PRE.u1Coo.intTimTab.idx,u1Coo.intTimTab.y[2],$PRE.u1Coo.intTimTab.y[2],u1Coo.intTimTab.y[1],$PRE.u1Coo.intTimTab.y[1],u1Hea.intTimTab.idx,$PRE.u1Hea.intTimTab.idx,u1Hea.intTimTab.y[2],$PRE.u1Hea.intTimTab.y[2],u1Hea.intTimTab.y[1],$PRE.u1Hea.intTimTab.y[1],selModPhp.remShc.extIdx[1].u[2],selModPhp.remShc.extIdx[1].u[1],selModPhp.remShc.reaToInt[1].y,selModPhp.remShc.swiMas[1,1].y,selModPhp.remShc.extFla[2].y,selModPhp.remShc.extFla[2].u[2],selModPhp.remShc.extFla[2].u[1],selModPhp.remShc.extFla[1].y,selModPhp.remShc.extFla[1].u[2],selModPhp.remShc.extFla[1].u[1],selModPhp.preCoo[2].u,selModPhp.preCoo[1].u,selModPhp.preHea[2].u,selModPhp.preHea[1].u,selModPhp.yIdxSorShc[1],nShc.idx,$PRE.nShc.idx,nShc.y[1],$PRE.nShc.y[1],nCoo.idx,$PRE.nCoo.idx,nCoo.y[1],$PRE.nCoo.y[1],nHea.idx,$PRE.nHea.idx,nHea.y[1],$PRE.nHea.y[1],selModPhp.remCooSwi.extIdx[2].u[2],selModPhp.remCooSwi.extIdx[2].u[1],selModPhp.remCooSwi.extIdx[1].u[2],selModPhp.remCooSwi.extIdx[1].u[1],selModPhp.remCooSwi.reaToInt[2].y,selModPhp.remCooSwi.reaToInt[1].y,selModPhp.remCooSwi.swiMas[1,1].y,selModPhp.remCooSwi.extFla[2].y,selModPhp.remCooSwi.extFla[2].u[2],selModPhp.remCooSwi.extFla[2].u[1],selModPhp.remCooSwi.extFla[1].y,selModPhp.remCooSwi.extFla[1].u[2],selModPhp.remCooSwi.extFla[1].u[1],selModPhp.remCooSwi.yIdxSor[2],selModPhp.remCooSwi.yIdxSor[1],selModPhp.remCooRes.extIdx[2].u[2],selModPhp.remCooRes.extIdx[2].u[1],selModPhp.remCooRes.extIdx[1].u[2],selModPhp.remCooRes.extIdx[1].u[1],selModPhp.remCooRes.reaToInt[2].y,selModPhp.remCooRes.reaToInt[1].y,selModPhp.remCooRes.swiMas[1,1].y,selModPhp.remCooRes.extFla[2].y,selModPhp.remCooRes.extFla[2].u[2],selModPhp.remCooRes.extFla[2].u[1],selModPhp.remCooRes.extFla[1].y,selModPhp.remCooRes.extFla[1].u[2],selModPhp.remCooRes.extFla[1].u[1],selModPhp.remHeaSwi.extIdx[2].u[2],selModPhp.remHeaSwi.extIdx[2].u[1],selModPhp.remHeaSwi.extIdx[1].u[2],selModPhp.remHeaSwi.extIdx[1].u[1],selModPhp.remHeaSwi.reaToInt[2].y,selModPhp.remHeaSwi.reaToInt[1].y,selModPhp.remHeaSwi.swiMas[1,1].y,selModPhp.remHeaSwi.extFla[2].y,selModPhp.remHeaSwi.extFla[2].u[2],selModPhp.remHeaSwi.extFla[2].u[1],selModPhp.remHeaSwi.extFla[1].y,selModPhp.remHeaSwi.extFla[1].u[2],selModPhp.remHeaSwi.extFla[1].u[1],selModPhp.remHeaSwi.yIdxSor[2],selModPhp.remHeaSwi.yIdxSor[1],selModPhp.remHeaRes.extIdx[2].u[2],selModPhp.remHeaRes.extIdx[2].u[1],selModPhp.remHeaRes.extIdx[1].u[2],selModPhp.remHeaRes.extIdx[1].u[1],selModPhp.remHeaRes.reaToInt[2].y,selModPhp.remHeaRes.reaToInt[1].y,selModPhp.remHeaRes.swiMas[1,1].y,selModPhp.remHeaRes.extFla[2].y,selModPhp.remHeaRes.extFla[2].u[2],selModPhp.remHeaRes.extFla[2].u[1],selModPhp.remHeaRes.extFla[1].y,selModPhp.remHeaRes.extFla[1].u[2],selModPhp.remHeaRes.extFla[1].u[1],$PRE.selModPhp.preShc[2].u,$PRE.selModPhp.preShc[1].u,$PRE.selModPhp.preCoo[2].u,$PRE.selModPhp.preCoo[1].u,$PRE.selModPhp.preHea[2].u,$PRE.selModPhp.preHea[1].u,selModPhp.andCoo[2].y,selModPhp.andCoo[1].y,selModPhp.andHea[2].y,selModPhp.andHea[1].y,selModPhp.repShc.y[2],selModPhp.repCoo.y[2],selModPhp.repHea.y[2],selModPhp.chaShc.down,selModPhp.chaShc.up,selModPhp.chaShc.u,$PRE.selModPhp.chaShc.u,selModPhp.chaCoo.down,selModPhp.chaCoo.up,selModPhp.chaCoo.u,$PRE.selModPhp.chaCoo.u,selModPhp.chaHea.down,selModPhp.chaHea.up,selModPhp.chaHea.u,$PRE.selModPhp.chaHea.u,selModPhp.yIdxSorCoo[2],selModPhp.yIdxSorCoo[1],selModPhp.yIdxSorHea[2],selModPhp.yIdxSorHea[1],selModPhp.remHeaRes.swiMas[1,2].y,selModPhp.remHeaRes.swiMas[2,1].y,selModPhp.remHeaRes.swiMas[2,2].y,selModPhp.remHeaSwi.swiMas[1,2].y,selModPhp.remHeaSwi.swiMas[2,1].y,selModPhp.remHeaSwi.swiMas[2,2].y,selModPhp.remCooRes.swiMas[1,2].y,selModPhp.remCooRes.swiMas[2,1].y,selModPhp.remCooRes.swiMas[2,2].y,selModPhp.remCooSwi.swiMas[1,2].y,selModPhp.remCooSwi.swiMas[2,1].y,selModPhp.remCooSwi.swiMas[2,2].y,selModPhp.remShc.swiMas[1,2].y,selModPhp.remShc.swiMas[2,1].y,selModPhp.remShc.swiMas[2,2].y,selModPhp.remShc.greEqu[2,2].y,selModPhp.remShc.greEqu[2,1].y,selModPhp.remShc.greEqu[1,2].y,selModPhp.remShc.greEqu[1,1].y,selModPhp.remShc.repVal.y[2,2],selModPhp.remCooSwi.greEqu[2,2].y,selModPhp.remCooSwi.greEqu[2,1].y,selModPhp.remCooSwi.greEqu[1,2].y,selModPhp.remCooSwi.greEqu[1,1].y,selModPhp.remCooSwi.repVal.y[2,2],selModPhp.remCooRes.greEqu[2,2].y,selModPhp.remCooRes.greEqu[2,1].y,selModPhp.remCooRes.greEqu[1,2].y,selModPhp.remCooRes.greEqu[1,1].y,selModPhp.remCooRes.repVal.y[2,2],selModPhp.remHeaSwi.greEqu[2,2].y,selModPhp.remHeaSwi.greEqu[2,1].y,selModPhp.remHeaSwi.greEqu[1,2].y,selModPhp.remHeaSwi.greEqu[1,1].y,selModPhp.remHeaSwi.repVal.y[2,2],selModPhp.remHeaRes.greEqu[2,2].y,selModPhp.remHeaRes.greEqu[2,1].y,selModPhp.remHeaRes.greEqu[1,2].y,selModPhp.remHeaRes.greEqu[1,1].y,selModPhp.remHeaRes.repVal.y[2,2],selModPhp.remHeaRes.conNUni[1].y,selModPhp.remHeaRes.conNUni[2].y,selModPhp.remHeaRes.conPos[1].y,selModPhp.remHeaRes.conPos[2].y,selModPhp.remHeaRes.conNUniMat[1,1].y,selModPhp.remHeaRes.conNUniMat[1,2].y,selModPhp.remHeaRes.conNUniMat[2,1].y,selModPhp.remHeaRes.conNUniMat[2,2].y,selModPhp.remHeaSwi.conNUni[1].y,selModPhp.remHeaSwi.conNUni[2].y,selModPhp.remHeaSwi.conPos[1].y,selModPhp.remHeaSwi.conPos[2].y,selModPhp.remHeaSwi.conNUniMat[1,1].y,selModPhp.remHeaSwi.conNUniMat[1,2].y,selModPhp.remHeaSwi.conNUniMat[2,1].y,selModPhp.remHeaSwi.conNUniMat[2,2].y,selModPhp.remCooRes.conNUni[1].y,selModPhp.remCooRes.conNUni[2].y,selModPhp.remCooRes.conPos[1].y,selModPhp.remCooRes.conPos[2].y,selModPhp.remCooRes.conNUniMat[1,1].y,selModPhp.remCooRes.conNUniMat[1,2].y,selModPhp.remCooRes.conNUniMat[2,1].y,selModPhp.remCooRes.conNUniMat[2,2].y,selModPhp.remCooSwi.conNUni[1].y,selModPhp.remCooSwi.conNUni[2].y,selModPhp.remCooSwi.conPos[1].y,selModPhp.remCooSwi.conPos[2].y,selModPhp.remCooSwi.conNUniMat[1,1].y,selModPhp.remCooSwi.conNUniMat[1,2].y,selModPhp.remCooSwi.conNUniMat[2,1].y,selModPhp.remCooSwi.conNUniMat[2,2].y,selModPhp.remShc.conNUni[1].y,selModPhp.remShc.conNUni[2].y,selModPhp.remShc.conPos[1].y,selModPhp.remShc.conPos[2].y,selModPhp.remShc.conNUniMat[1,1].y,selModPhp.remShc.conNUniMat[1,2].y,selModPhp.remShc.conNUniMat[2,1].y,selModPhp.remShc.conNUniMat[2,2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 278 * 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.0009637/0.05885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.05905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.06058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.06059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.06061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.06063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/0.06466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.06468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006981/0.06538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.06559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.049e-05/0.06561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.06574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.458e-05/0.06576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/0.06578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.0675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004536/0.06795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/0.06852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006438/0.06917, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/0.06933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0007413/0.07008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.683e-05/0.07013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001648/0.07178, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 166 (selModPhp.andHea[1].y,selModPhp.andCoo[1].y,$cse7,$cse8,$cse9,$cse11,$cse12,$cse13,$cse14,$cse15,$cse16,$cse17,$cse19,$cse20,$cse21,$cse23,$cse24,$cse25,$cse26,$cse27,$cse28,$cse29,$cse31,$cse32,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,selModPhp.yIdxSorHea[1],selModPhp.yIdxSorHea[2],selModPhp.yIdxSorCoo[1],selModPhp.yIdxSorCoo[2],selModPhp.yIdxSorShc[1],selModPhp.chaHea.u,selModPhp.chaHea.up,selModPhp.chaHea.down,selModPhp.chaCoo.u,selModPhp.chaCoo.up,selModPhp.chaCoo.down,selModPhp.chaShc.u,selModPhp.chaShc.up,selModPhp.chaShc.down,selModPhp.repHea.y[2],selModPhp.repCoo.y[2],selModPhp.repShc.y[2],selModPhp.andHea[2].y,selModPhp.andCoo[2].y,selModPhp.preHea[1].u,selModPhp.preHea[2].u,selModPhp.preCoo[1].u,selModPhp.preCoo[2].u,selModPhp.preShc[1].u,selModPhp.preShc[2].u,selModPhp.remHeaRes.extFla[1].u[1],selModPhp.remHeaRes.extFla[1].u[2],selModPhp.remHeaRes.extFla[1].y,selModPhp.remHeaRes.extFla[2].u[1],selModPhp.remHeaRes.extFla[2].u[2],selModPhp.remHeaRes.extFla[2].y,selModPhp.remHeaRes.swiMas[1,1].y,selModPhp.remHeaRes.reaToInt[1].y,selModPhp.remHeaRes.extIdx[1].u[1],selModPhp.remHeaRes.extIdx[1].u[2],selModPhp.remHeaRes.extIdx[2].u[1],selModPhp.remHeaRes.extIdx[2].u[2],selModPhp.remHeaSwi.yIdxSor[1],selModPhp.remHeaSwi.yIdxSor[2],selModPhp.remHeaSwi.extFla[1].u[1],selModPhp.remHeaSwi.extFla[1].u[2],selModPhp.remHeaSwi.extFla[1].y,selModPhp.remHeaSwi.extFla[2].u[1],selModPhp.remHeaSwi.extFla[2].u[2],selModPhp.remHeaSwi.extFla[2].y,selModPhp.remHeaSwi.swiMas[1,1].y,selModPhp.remHeaSwi.reaToInt[1].y,selModPhp.remHeaSwi.extIdx[1].u[1],selModPhp.remHeaSwi.extIdx[1].u[2],selModPhp.remHeaSwi.extIdx[2].u[1],selModPhp.remHeaSwi.extIdx[2].u[2],selModPhp.remCooRes.extFla[1].u[1],selModPhp.remCooRes.extFla[1].u[2],selModPhp.remCooRes.extFla[1].y,selModPhp.remCooRes.extFla[2].u[1],selModPhp.remCooRes.extFla[2].u[2],selModPhp.remCooRes.extFla[2].y,selModPhp.remCooRes.swiMas[1,1].y,selModPhp.remCooRes.reaToInt[1].y,selModPhp.remCooRes.extIdx[1].u[1],selModPhp.remCooRes.extIdx[1].u[2],selModPhp.remCooRes.extIdx[2].u[1],selModPhp.remCooRes.extIdx[2].u[2],selModPhp.remCooSwi.yIdxSor[1],selModPhp.remCooSwi.yIdxSor[2],selModPhp.remCooSwi.extFla[1].u[1],selModPhp.remCooSwi.extFla[1].u[2],selModPhp.remCooSwi.extFla[1].y,selModPhp.remCooSwi.extFla[2].u[1],selModPhp.remCooSwi.extFla[2].u[2],selModPhp.remCooSwi.extFla[2].y,selModPhp.remCooSwi.swiMas[1,1].y,selModPhp.remCooSwi.reaToInt[1].y,selModPhp.remCooSwi.extIdx[1].u[1],selModPhp.remCooSwi.extIdx[1].u[2],selModPhp.remCooSwi.extIdx[2].u[1],selModPhp.remCooSwi.extIdx[2].u[2],selModPhp.remShc.extFla[1].u[1],selModPhp.remShc.extFla[1].u[2],selModPhp.remShc.extFla[1].y,selModPhp.remShc.extFla[2].u[1],selModPhp.remShc.extFla[2].u[2],selModPhp.remShc.extFla[2].y,selModPhp.remShc.swiMas[1,1].y,selModPhp.remShc.reaToInt[1].y,selModPhp.remShc.extIdx[1].u[1],selModPhp.remShc.extIdx[1].u[2],nHea.y[1],nHea.idx,nCoo.y[1],nCoo.idx,nShc.y[1],nShc.idx,u1Hea.intTimTab.y[1],u1Hea.intTimTab.y[2],u1Hea.intTimTab.idx,u1Coo.intTimTab.y[1],u1Coo.intTimTab.y[2],u1Coo.intTimTab.idx,u1Shc.intTimTab.y[1],u1Shc.intTimTab.y[2],u1Shc.intTimTab.idx,$cse1,selModPhp.yIdxSorShc[2],selModPhp.remShc.extIdx[2].u[1],selModPhp.remShc.extIdx[2].u[2],$cse10,selModPhp.remHeaRes.reaToInt[2].y,$cse18,selModPhp.remHeaSwi.reaToInt[2].y,$cse22,selModPhp.remCooRes.reaToInt[2].y,$cse30,selModPhp.remCooSwi.reaToInt[2].y,$cse2,selModPhp.remShc.reaToInt[2].y) * Number of discrete states: 9 (selModPhp.preShc[2].u,selModPhp.preShc[1].u,selModPhp.preCoo[2].u,selModPhp.preCoo[1].u,selModPhp.preHea[2].u,selModPhp.preHea[1].u,selModPhp.chaShc.u,selModPhp.chaCoo.u,selModPhp.chaHea.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.001238/0.07302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001913/0.07493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.423e-05/0.075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0008874/0.07588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.07731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/0.08321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006539/0.08387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0009487/0.08482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/0.08625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 6.39e-05/0.08631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01257/0.09888, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ModeAlternation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ModeAlternation/Buildings_latest_Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ModeAlternation.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.705207078019157]