Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.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.0002893/0.0002893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005064/0.0007956, 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.0003313/0.0003313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005318/0.0008631, 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.1721/0.1721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.06606/0.2381, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.418/0.418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1576/0.5756, 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 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.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|relSwi.y|resPro.tOn|resPro.tOff|tunSta.y|tunEnd.y|resSig.y|resPro.tau",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|relSwi.y|resPro.tOn|resPro.tOff|tunSta.y|tunEnd.y|resSig.y|resPro.tau",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.426e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess): time 0.003353/0.003377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001683/0.00506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.005251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.005448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.005627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.006184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.00049/0.006674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0004596/0.007134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0006366/0.007771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.007941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.185e-05/0.008013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 7.396e-05/0.008087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.008201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.008374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.008955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.513e-05/0.00902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.695e-06/0.009023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.57e-05/0.009039, 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.001105/0.01014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.675e-05/0.01022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.01038, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.01077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/0.01083, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.0109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.01139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.01141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.01146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.01147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.01166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.01305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.01339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.01351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.01353, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.01375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=67): time 3.296e-06/0.01375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=67): time 0.0003512/0.0141, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.01414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.01432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 9.418e-05/0.01441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.01457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 8.352e-05/0.01465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.01481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.325e-05/0.01484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.01496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.0151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.01533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.01533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=105) (initialization): time 0.0004046/0.01574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.01577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.01579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.01598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.01599, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.01614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.01618, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 74 ($PRE.resPro.norTimDel.tunEndDel.u,relSwi.y,$PRE.relSwi.y,$whenCondition15,$whenCondition16,$PRE.resPro.norTimDel.tunEndDel.t_next,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,resPro.norTimDel.tunEndDel.t_next,resSig.y,$PRE.resSig.y,resPro.onOffPer.timOffRec.edgThr.y,resPro.onOffPer.timOffRec.edgThr.u,$PRE.resPro.onOffPer.timOffRec.edgThr.u,resPro.onOffPer.timOffRec.edgRes.u,$PRE.resPro.onOffPer.timOffRec.edgRes.u,resPro.onOffPer.timOffRec.samTri.y,resPro.onOffPer.timOffRec.samTri.u2,resPro.onOffPer.timOnRec.edgThr.y,resPro.onOffPer.timOnRec.edgThr.u,$PRE.resPro.onOffPer.timOnRec.edgThr.u,resPro.onOffPer.timOnRec.edgRes.u,$PRE.resPro.onOffPer.timOnRec.edgRes.u,resPro.onOffPer.timOnRec.samTri.y,resPro.onOffPer.timOnRec.samTri.u2,resPro.onOffPer.timOff.y,$PRE.resPro.onOffPer.timOff.y,resPro.onOffPer.timOn.y,$PRE.resPro.onOffPer.timOn.y,$whenCondition13,$whenCondition14,resPro.norTimDel.and1.y,con1.y,con.y,resPro.norTimDel.tunEndDel.u,resPro.norTimDel.tunEndDel.y,resPro.norTimDel.or2.y,resPro.norTimDel.gre.greHys.y,$PRE.resPro.norTimDel.gre.greHys.y,resPro.halPerRatio.tOffSam.y,$PRE.resPro.halPerRatio.tOffSam.y,resPro.halPerRatio.tOnSam.y,$PRE.resPro.halPerRatio.tOnSam.y,$whenCondition12,$whenCondition11,tunEnd.clr,tunSta.clr,tunEnd.y,$PRE.tunEnd.y,tunEnd.u,tunSta.y,$PRE.tunSta.y,tunSta.u,resPro.tunMon.greThr1.y,resPro.tunMon.edgTunEnd.u,$PRE.resPro.tunMon.edgTunEnd.u,resPro.tunMon.edgTunSta.u,$PRE.resPro.tunMon.edgTunSta.u,resPro.tunMon.tDec.y,resPro.tunMon.tInc.y,resPro.tunMon.samAddtOntOff.y,$PRE.resPro.tunMon.samAddtOntOff.y,resPro.onOffPer.timOffRec.yRec.y,$PRE.resPro.onOffPer.timOffRec.yRec.y,resPro.onOffPer.timOnRec.yRec.y,$PRE.resPro.onOffPer.timOnRec.yRec.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 2 * 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.0001579/0.01634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.01638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.01667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.01669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.01727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.01735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.01737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.01738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.01761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.01768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.843e-05/0.01777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.01784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.01793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.01795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 6.18e-05/0.01801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.929e-06/0.01802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0002993/0.01832, 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: 48 (tunSta.u,tunEnd.u,resPro.tunMon.greThr1.y,resPro.onOffPer.timOffRec.samTri.y,resPro.onOffPer.timOnRec.samTri.y,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,resPro.onOffPer.timOn.y,resPro.onOffPer.timOff.y,resPro.onOffPer.timOnRec.yRec.y,resPro.onOffPer.timOnRec.samTri.u2,resPro.onOffPer.timOnRec.edgRes.u,resPro.onOffPer.timOnRec.edgThr.u,resPro.onOffPer.timOnRec.edgThr.y,resPro.onOffPer.timOffRec.yRec.y,resPro.onOffPer.timOffRec.samTri.u2,resPro.onOffPer.timOffRec.edgRes.u,resPro.onOffPer.timOffRec.edgThr.u,resPro.onOffPer.timOffRec.edgThr.y,resPro.halPerRatio.tOnSam.y,resPro.halPerRatio.tOffSam.y,resPro.norTimDel.gre.greHys.y,resPro.norTimDel.or2.y,resPro.norTimDel.tunEndDel.y,resPro.norTimDel.tunEndDel.t_next,resPro.tunMon.samAddtOntOff.y,resPro.tunMon.tInc.y,resPro.tunMon.tDec.y,resPro.tunMon.edgTunSta.u,resPro.tunMon.edgTunEnd.u,relSwi.y,resSig.y,tunSta.y,tunEnd.y) * Number of discrete states: 8 (resPro.norTimDel.tunEndDel.t_next,resPro.onOffPer.timOffRec.edgRes.u,resPro.onOffPer.timOnRec.edgRes.u,resPro.onOffPer.timOnRec.edgThr.u,resPro.onOffPer.timOffRec.edgThr.u,resPro.tunMon.edgTunEnd.u,resPro.norTimDel.gre.greHys.y,resPro.tunMon.edgTunSta.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0002743/0.01859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0003974/0.01899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.00016/0.01916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.01953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008198/0.02035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 7.547e-05/0.02043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001315/0.02056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.02074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.014e-05/0.02076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001887/0.02265, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_ResponseProcess.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 1.334640035405755]