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.000525/0.000525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009388/0.001464, 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.0008054/0.0008054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007917/0.001597, 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.2833/0.2833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.09216/0.3755, 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.7811/0.7811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1609/0.942, 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.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 -ignoreHideResult -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 -ignoreHideResult -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 4.076e-05/4.324e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess): time 0.005877/0.00592, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.004204/0.01012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0005984/0.01072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.000472/0.01119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0004684/0.01166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.01286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0007931/0.01365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0008189/0.01447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.000878/0.01535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.01564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.01576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.01593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.000188/0.01612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.01642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.00107/0.01749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001066/0.0176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.236e-06/0.0176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.242e-05/0.01762, 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.001951/0.01957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.15e-05/0.01967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002898/0.01996, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006995/0.02065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.02077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.02091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008806/0.02179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.02183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.02192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.02194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.02235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.02485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.02551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.02573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.02578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/0.02618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=67): time 1.526e-05/0.0262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=67): time 0.0006464/0.02684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.0269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.02715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.02728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.02748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.02761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/0.02791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 9.465e-05/0.02801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.02822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.02856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.02904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.02905, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=105) (initialization): time 0.000854/0.02991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.759e-05/0.02997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.02998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.639e-05/0.03001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.03037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/0.03039, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.0307, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.03078, 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.00032/0.0311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.03117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006065/0.03178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.03179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.03181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.03182, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.0335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.0335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.03366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.03379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.0338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.03384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.755e-06/0.03385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.03386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.03431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.03444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.03458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.03477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.03482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001071/0.03493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 8.355e-06/0.03494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0005867/0.03553, 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.0005881/0.03611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001033/0.03715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.502e-05/0.03717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001631/0.0388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007647/0.03957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.04214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.04232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003686/0.04269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.04322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 8.51e-05/0.0433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.007036/0.05034, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess.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.9793489600997418]