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 [: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.0004353/0.0004353, 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.0003672/0.0003672, 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.3018/0.3018, 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.7631/0.7631, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] 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.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 7.51e-07/7.51e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.828e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.ResponseProcess): time 0.01323/0.01324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.006427/0.01967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0006685/0.02034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0005625/0.0209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.000763/0.02167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.02418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001906/0.02608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.02978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0006493/0.03043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.000351/0.03078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002845/0.03106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.03132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005624/0.03189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.002679/0.03457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001164/0.03468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.485e-06/0.03468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.209e-05/0.03471, 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.003932/0.03864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001245/0.03876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000843/0.03961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.04219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.04237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003691/0.04274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003219/0.04596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.82e-05/0.04603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/0.04627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.0463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.04851, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008304/0.05682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.05838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0008327/0.05922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/0.0593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.06045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=67): time 1.331e-05/0.06047, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=67): time 0.003058/0.06352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.0636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.06467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.0649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0005415/0.06544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003634/0.0658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008259/0.06663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002845/0.06691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.06794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.06918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.07096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/0.07099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=105) (initialization): time 0.003592/0.07458, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.07468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.0747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 4.219e-05/0.07474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/0.07532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.114e-05/0.07536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.07611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/0.07631, 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.0008179/0.07712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/0.07743, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.07964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.07965, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.07966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.07968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004541/0.08422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.08423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.0845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/0.08452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.08463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/0.08464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.08464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/0.08696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/0.08755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.08784, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.0882, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/0.08855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.08868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0004447/0.08912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.307e-06/0.08913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002035/0.09117, 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.0007046/0.09187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002257/0.09413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.09414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0008442/0.09498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.09688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.1013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005163/0.1022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.1026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 5.011e-05/0.1027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.00244/0.1051, 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: 2.7446130919270217]