Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.SelectEquipmentAtStage.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 [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003602/0.0003602, 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.0004856/0.0004856, 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.4273/0.4273, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 0.9789/0.9789, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.SelectEquipmentAtStage,startTime=0,stopTime=7,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|idxSta.y.1.|selEquSta.u1Ava.1.|selEquSta.u1Ava.2.|selEquSta.u1Ava.3.|selEquSta.nTot|selEquSta.nReq|selEquSta.nAlt|selEquSta.y1ReqAndAva.1.|selEquSta.y1ReqAndAva.2.|selEquSta.y1ReqAndAva.3.|selEquSta.y1AltAndAva.1.|selEquSta.y1AltAndAva.2.|selEquSta.y1AltAndAva.3.",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.SelectEquipmentAtStage",simflags="-alarm=800 -emit_protected -lv LOG_STATS") simulate(Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.SelectEquipmentAtStage,startTime=0,stopTime=7,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|idxSta.y.1.|selEquSta.u1Ava.1.|selEquSta.u1Ava.2.|selEquSta.u1Ava.3.|selEquSta.nTot|selEquSta.nReq|selEquSta.nAlt|selEquSta.y1ReqAndAva.1.|selEquSta.y1ReqAndAva.2.|selEquSta.y1ReqAndAva.3.|selEquSta.y1AltAndAva.1.|selEquSta.y1AltAndAva.2.|selEquSta.y1AltAndAva.3.",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.SelectEquipmentAtStage",simflags="-alarm=800 -emit_protected -lv LOG_STATS") [Timeout 1100] "Notification: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.752e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.SelectEquipmentAtStage): time 0.004084/0.004112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.005073/0.009184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003675/0.009552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001594/0.01115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.000787/0.01193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.01333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.004941/0.01827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.0201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.02336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.02543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0006037/0.02604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0008472/0.02688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.00325/0.03013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.002136/0.03227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.006583/0.03885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0005922/0.03944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.995e-06/0.03945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.061e-05/0.03949, 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.01221/0.0517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001777/0.05187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.05395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.006839/0.06079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002833/0.06107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009027/0.06198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.006894/0.06887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.045e-05/0.06892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/0.06926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.918e-05/0.06931, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004867/0.07418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.08909, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.004481/0.09357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.002338/0.09591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 6.043e-05/0.09597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003088/0.09906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=70): time 0.0002201/0.09928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=70): time 0.008482/0.1078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002019/0.108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005351/0.1133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000863/0.1142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001636/0.1158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0004056/0.1162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001954/0.1182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004587/0.1186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.1202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.005333/0.1256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.003651/0.1292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/0.1293, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=78) (initialization): time 0.00623/0.1355, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.1356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.1357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 5.228e-05/0.1357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.1365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.775e-05/0.1366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/0.1398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/0.1401, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idxSta.idx,$PRE.idxSta.idx,idxSta.y[1],$PRE.idxSta.y[1],u1AvaEqu.intTimTab.idx,$PRE.u1AvaEqu.intTimTab.idx,u1AvaEqu.intTimTab.y[3],$PRE.u1AvaEqu.intTimTab.y[3],u1AvaEqu.intTimTab.y[2],$PRE.u1AvaEqu.intTimTab.y[2],u1AvaEqu.intTimTab.y[1],$PRE.u1AvaEqu.intTimTab.y[1],u1AvaEqu.y[3],u1AvaEqu.y[2],u1AvaEqu.y[1],selEquSta.notReqNorAlt[3].y,selEquSta.notReqNorAlt[2].y,selEquSta.notReqNorAlt[1].y,selEquSta.y1ReqOrAltAndAva[3],selEquSta.y1ReqOrAltAndAva[2],selEquSta.y1ReqOrAltAndAva[1],selEquSta.y1AltAndAva[3],selEquSta.y1AltAndAva[2],selEquSta.y1AltAndAva[1],selEquSta.y1ReqAndAva[3],selEquSta.y1ReqAndAva[2],selEquSta.y1ReqAndAva[1],selEquSta.nAlt,selEquSta.nReq,selEquSta.nTot,selEquSta.nReqCou.booToInt[3].y,selEquSta.nReqCou.booToInt[2].y,selEquSta.nReqCou.booToInt[1].y,selEquSta.isAltAndAva[3].uTemp[2],selEquSta.isAltAndAva[2].uTemp[2],selEquSta.isAltAndAva[1].uTemp[2],selEquSta.notReqOrAlt[3].y,selEquSta.notReqOrAlt[2].y,selEquSta.notReqOrAlt[1].y,selEquSta.isReq[3].y,selEquSta.isReq[2].y,selEquSta.isReq[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 3 * 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.003463/0.1436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007742/0.1444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007054/0.1451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.1451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.1451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.1451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009978/0.1551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.1551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/0.1557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.279e-05/0.1557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002553/0.1559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-05/0.156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006012/0.162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0008874/0.1629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005523/0.1634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008423/0.1643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/0.1653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003276/0.1656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.003334/0.1689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.362e-05/0.169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002741/0.1717, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 ($whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,selEquSta.isReq[1].y,selEquSta.isReq[2].y,selEquSta.isReq[3].y,selEquSta.notReqOrAlt[1].y,selEquSta.notReqOrAlt[2].y,selEquSta.notReqOrAlt[3].y,selEquSta.isAltAndAva[1].uTemp[2],selEquSta.isAltAndAva[2].uTemp[2],selEquSta.isAltAndAva[3].uTemp[2],selEquSta.nReqCou.booToInt[1].y,selEquSta.nReqCou.booToInt[2].y,selEquSta.nReqCou.booToInt[3].y,selEquSta.nTot,selEquSta.nReq,selEquSta.nAlt,selEquSta.y1ReqAndAva[1],selEquSta.y1ReqAndAva[2],selEquSta.y1ReqAndAva[3],selEquSta.y1AltAndAva[1],selEquSta.y1AltAndAva[2],selEquSta.y1AltAndAva[3],selEquSta.y1ReqOrAltAndAva[1],selEquSta.y1ReqOrAltAndAva[2],selEquSta.y1ReqOrAltAndAva[3],selEquSta.notReqNorAlt[1].y,selEquSta.notReqNorAlt[2].y,selEquSta.notReqNorAlt[3].y,u1AvaEqu.y[1],u1AvaEqu.y[2],u1AvaEqu.y[3],u1AvaEqu.intTimTab.y[1],u1AvaEqu.intTimTab.y[2],u1AvaEqu.intTimTab.y[3],u1AvaEqu.intTimTab.idx,idxSta.y[1],idxSta.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 6 * 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.0009023/0.1726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004555/0.1772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.1772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002362/0.1796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/0.1829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.1939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.1962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.001588/0.1978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/0.1993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0006695/0.2, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.008912/0.2089, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1100] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.SelectEquipmentAtStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_StagingRotation_BaseClasses_Validation_SelectEquipmentAtStage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.BaseClasses.Validation.SelectEquipmentAtStage.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: 2.929820498000481]