Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build 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.0002415/0.0002415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005352/0.0007767, 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.0001887/0.0001887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0003923/0.000581, 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.1024/0.1024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0477/0.1501, 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.3242/0.3242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1308/0.4551, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 1.693e-06/1.693e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.228e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.PolyvalentHeatPumps.Validation.ModeAlternation): time 0.004321/0.004353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00448/0.008833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003277/0.009161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001312/0.01047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.01103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.01269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002685/0.01537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.01765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.00292/0.02057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.02205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0004239/0.02247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0007532/0.02322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.001485/0.02471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001164/0.02587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.003953/0.02983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0004622/0.03029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.316e-06/0.03029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 3.49e-05/0.03033, 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.005471/0.0358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001859/0.03598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000824/0.03681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.0391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/0.03946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006196/0.04008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003927/0.044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.719e-05/0.04407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004915/0.04456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-05/0.04465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.04639, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.05958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.06107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.06157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.218e-05/0.06163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.06289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=168): time 1.541e-05/0.06291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=168): time 0.00203/0.06494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.06502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.06704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0004265/0.06747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0008196/0.06829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.06863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.06982, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.979e-05/0.06984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/0.07039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.07151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.07334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.69e-05/0.07337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=278) (initialization): time 0.002107/0.07547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.07552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/0.07555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 6.084e-05/0.07561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.07678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-05/0.07685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.07821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002846/0.0785, 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.001334/0.07983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.08011, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.0821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.08212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.08213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.08215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004122/0.08627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.08629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/0.08694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.08723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-05/0.08726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.08739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.314e-05/0.08743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/0.08744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.08905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004782/0.08953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005588/0.09009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005936/0.09068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/0.09088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.000669/0.09155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.288e-05/0.0916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002596/0.0942, 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.001072/0.09527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001608/0.09688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.635e-05/0.09694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0006703/0.09761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.09911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005511/0.1046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007402/0.1054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0008044/0.1062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/0.1076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 8.05e-05/0.1077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.007193/0.1149, 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.1879755528643727]