Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|trimRespondLogic.uDevSta|trimRespondLogic.numOfReq|trimRespondLogic.y|trimRespondLogic1.uDevSta|trimRespondLogic1.numOfReq|trimRespondLogic1.y|trimRespondLogic2.uDevSta|trimRespondLogic2.numOfReq|trimRespondLogic2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|trimRespondLogic.uDevSta|trimRespondLogic.numOfReq|trimRespondLogic.y|trimRespondLogic1.uDevSta|trimRespondLogic1.numOfReq|trimRespondLogic1.y|trimRespondLogic2.uDevSta|trimRespondLogic2.numOfReq|trimRespondLogic2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001629, allocations: 110.4 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001889, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.717/1.717, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 469.4 MB / 0.7428 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 59.91 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9793/0.9808, allocations: 159.1 MB / 1.221 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond): time 0.006607/0.9875, allocations: 4.089 MB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005058/0.9926, allocations: 2.379 MB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.994, allocations: 31.88 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007635/0.9949, allocations: 189.7 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009753/0.9959, allocations: 158.2 kB / 1.228 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.9976, allocations: 0.6413 MB / 1.228 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001793/0.9994, allocations: 1.505 MB / 1.23 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/1.001, allocations: 0.8777 MB / 1.231 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00071/1.001, allocations: 0.5525 MB / 1.231 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006389/1.002, allocations: 0.6336 MB / 1.232 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002334/1.002, allocations: 176 kB / 1.232 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/1.002, allocations: 188 kB / 1.232 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/1.003, allocations: 362.8 kB / 1.232 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006138/1.003, allocations: 0.6956 MB / 1.233 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/1.005, allocations: 2.014 MB / 1.235 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.005, allocations: 0 / 1.235 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/1.005, allocations: 0 / 1.235 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.297e-05/1.005, allocations: 4 kB / 1.235 GB, free: 3.832 MB / 0.9512 GB 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.00291/1.008, allocations: 1.642 MB / 1.237 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.008, allocations: 8.625 kB / 1.237 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/1.009, allocations: 155.2 kB / 1.237 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/1.01, allocations: 0.8949 MB / 1.238 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-05/1.01, allocations: 98.89 kB / 1.238 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/1.011, allocations: 140.4 kB / 1.238 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/1.013, allocations: 1.158 MB / 1.239 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/1.013, allocations: 11.88 kB / 1.239 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/1.013, allocations: 55.98 kB / 1.239 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/1.013, allocations: 28 kB / 1.239 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/1.014, allocations: 0.7965 MB / 1.24 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005464/1.02, allocations: 3.447 MB / 1.243 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/1.021, allocations: 0.6533 MB / 1.244 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/1.022, allocations: 298.9 kB / 1.244 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/1.022, allocations: 20.41 kB / 1.244 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009158/1.023, allocations: 0.5476 MB / 1.245 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=94): time 2.745e-06/1.023, allocations: 0 / 1.245 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=94): time 0.002129/1.025, allocations: 1.038 MB / 1.246 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/1.025, allocations: 247.9 kB / 1.246 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008648/1.026, allocations: 0.7268 MB / 1.247 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.044e-05/1.026, allocations: 61.7 kB / 1.247 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/1.026, allocations: 0.5925 MB / 1.247 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/1.027, allocations: 260.5 kB / 1.248 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003503/1.027, allocations: 282.7 kB / 1.248 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001988/1.027, allocations: 406.7 kB / 1.248 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005632/1.028, allocations: 279.2 kB / 1.249 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009027/1.029, allocations: 0.7955 MB / 1.249 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/1.03, allocations: 1.131 MB / 1.25 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/1.03, allocations: 8 kB / 1.25 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.002181/1.032, allocations: 1.182 MB / 1.252 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/1.032, allocations: 37.7 kB / 1.252 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/1.032, allocations: 27.92 kB / 1.252 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.556e-05/1.033, allocations: 27.94 kB / 1.252 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/1.033, allocations: 223.6 kB / 1.252 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-05/1.033, allocations: 36.36 kB / 1.252 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009663/1.034, allocations: 186.6 kB / 1.252 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.034, allocations: 75.98 kB / 1.252 GB, free: 1.367 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (166): * Single equations (assignments): 165 * 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.0006485/1.035, allocations: 349.3 kB / 1.252 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/1.035, allocations: 98.86 kB / 1.253 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/1.037, allocations: 0.8525 MB / 1.253 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/1.037, allocations: 7.922 kB / 1.253 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.037, allocations: 0 / 1.253 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/1.037, allocations: 167.8 kB / 1.254 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/1.037, allocations: 27.98 kB / 1.254 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/1.038, allocations: 47.94 kB / 1.254 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.038, allocations: 84.45 kB / 1.254 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001627/1.039, allocations: 0.9778 MB / 1.255 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001609/1.041, allocations: 1.086 MB / 1.256 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005739/1.042, allocations: 368.3 kB / 1.256 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005758/1.042, allocations: 443 kB / 1.257 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of Backend: time 3.51e-07/1.042, allocations: 0 / 1.257 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001775/1.044, allocations: 0.7543 MB / 1.257 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003096/1.047, allocations: 2.088 MB / 1.259 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of Templates: time 0.02101/1.068, allocations: 10.54 MB / 1.27 GB, free: 15.46 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Generic_Validation_TrimAndRespond.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches