Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.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.0002841/0.0002841, 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.0002266/0.0002266, 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.1542/0.1542, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 0.3582/0.3582, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.ASHRAE.G36.Generic.Validation.TrimAndRespond,startTime=0,stopTime=7200,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|trimRespondLogic.uDevSta|trimRespondLogic.numOfReq|trimRespondLogic.y|trimRespondLogic1.uDevSta|trimRespondLogic1.numOfReq|trimRespondLogic1.y|trimRespondLogic2.uDevSta|trimRespondLogic2.numOfReq|trimRespondLogic2.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond,startTime=0,stopTime=7200,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|trimRespondLogic.uDevSta|trimRespondLogic.numOfReq|trimRespondLogic.y|trimRespondLogic1.uDevSta|trimRespondLogic1.numOfReq|trimRespondLogic1.y|trimRespondLogic2.uDevSta|trimRespondLogic2.numOfReq|trimRespondLogic2.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.458e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond): time 0.003329/0.003354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002815/0.006168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0004982/0.006667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.000386/0.007053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.00739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0009256/0.008315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0007016/0.009017, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0005612/0.009578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0007251/0.0103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.01055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 9.741e-05/0.01065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.01074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.01091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.01114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0007362/0.01188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 7.704e-05/0.01195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.353e-06/0.01196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.378e-05/0.01197, 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.001233/0.0132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.01327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.01349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.000597/0.01409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.084e-05/0.01418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 9.681e-05/0.01428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/0.01504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.01506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.01512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.01514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.01545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.01753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.01793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.01803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.01807, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.01842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=94): time 5.891e-06/0.01843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=94): time 0.0004852/0.01891, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.01896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.01925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.915e-05/0.01933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.0195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/0.0196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.01979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.339e-05/0.01983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.01997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.02021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.02061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.02062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=171) (initialization): time 0.0008154/0.02143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.02146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.02147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.0215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.02183, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/0.02186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.02214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.0222, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic.tim.t_next,$whenCondition15,$PRE.trimRespondLogic1.tim.t_next,$whenCondition10,trimRespondLogic.tim.t_next,trimRespondLogic1.tim.t_next,trimRespondLogic1.sampler.sampleTrigger,$whenCondition8,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition9,trimRespondLogic.sampler.sampleTrigger,$whenCondition13,trimRespondLogic.uniDel.sampleTrigger,$whenCondition14,trimRespondLogic2.sampler.firstTrigger,$PRE.trimRespondLogic2.sampler.firstTrigger,$PRE.trimRespondLogic2.tim.t_next,$whenCondition5,$whenCondition1,$whenCondition2,trimRespondLogic2.tim.t_next,trimRespondLogic2.sampler.sampleTrigger,$whenCondition3,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition4,trimRespondLogic1.swi2.u2,trimRespondLogic1.not1.y,trimRespondLogic.swi2.u2,trimRespondLogic.not1.y,con.y,trimRespondLogic.greThr1.y,trimRespondLogic1.greThr1.y,reaToInt1.y,trimRespondLogic1.sampler.y,trimRespondLogic1.uniDel.y,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.greThr.y,trimRespondLogic1.tim.y,trimRespondLogic.sampler.y,trimRespondLogic.uniDel.y,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.netRes.u2,trimRespondLogic.greThr.y,trimRespondLogic.tim.y,trimRespondLogic.tim.u,$whenCondition17,$whenCondition16,trimRespondLogic1.tim.u,$whenCondition12,$whenCondition11,trimRespondLogic1.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic.lesThr1.y,trimRespondLogic2.greThr1.y,reaToInt2.y,booPul.y,$PRE.booPul.y,trimRespondLogic2.sampler.y,trimRespondLogic2.uniDel.y,$PRE.trimRespondLogic2.uniDel.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.greThr.y,trimRespondLogic2.tim.y,trimRespondLogic2.tim.u,$whenCondition7,$whenCondition6,trimRespondLogic2.greThr2.y,trimRespondLogic2.lesThr1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 1 * 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.0002303/0.02243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.02249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/0.02297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.02298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.02298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.02299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/0.02393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.02393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.02408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.02409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.02413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.02413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.0245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.02456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.02472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.02487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.02504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001497/0.02519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.155e-05/0.0252, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0005104/0.02571, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 48 (trimRespondLogic2.uniDel.sampleTrigger,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.u,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.y,reaToInt2.y,trimRespondLogic.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic1.sampler.sampleTrigger,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition8,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y) * Number of discrete states: 6 (trimRespondLogic.tim.t_next,trimRespondLogic1.tim.t_next,trimRespondLogic1.uniDel.u,trimRespondLogic.uniDel.u,trimRespondLogic2.tim.t_next,trimRespondLogic2.uniDel.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0004829/0.02619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.000521/0.02671, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.00018/0.0269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.02754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.02873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.02884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002403/0.02908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.02935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.338e-05/0.02938, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002397/0.03177, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_Generic_Validation_TrimAndRespond.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.2497824672609568]