Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [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.00195/0.00195, allocations: 210.5 kB / 23 MB, free: 4.934 MB / 14.72 MB " [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 1.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.315/3.315, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sysReq.TCooSet|sysReq.TZon|sysReq.uCoo|sysReq.yZonTemResReq|sysReq.uAftSup|sysReq.VSet_flow|sysReq.VDis_flow|sysReq.uDam|sysReq.yZonPreResReq",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sysReq.TCooSet|sysReq.TZon|sysReq.uCoo|sysReq.yZonTemResReq|sysReq.uAftSup|sysReq.VSet_flow|sysReq.VDis_flow|sysReq.uDam|sysReq.yZonPreResReq",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 64.84 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3736, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests): time 0.003855/0.3775, allocations: 2.069 MB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.3804, allocations: 1.813 MB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003912/0.3808, allocations: 23.81 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.3811, allocations: 102.8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.3813, allocations: 115 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.3824, allocations: 437.5 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.3835, allocations: 0.9445 MB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.3839, allocations: 262.4 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006063/0.3845, allocations: 374.8 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004857/0.385, allocations: 390.3 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.3852, allocations: 96 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.3854, allocations: 120 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.3856, allocations: 191.4 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003637/0.3859, allocations: 318.5 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.3873, allocations: 1.219 MB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3873, allocations: 0 / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3873, allocations: 0 / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.3873, allocations: 8 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00262/0.3899, allocations: 1.064 MB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.39, allocations: 12.03 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000385/0.3904, allocations: 112.4 kB / 1.337 GB, free: 7.277 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.3921, allocations: 0.5781 MB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.3921, allocations: 53.67 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.3923, allocations: 72.36 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.3936, allocations: 0.6121 MB / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.3936, allocations: 3.938 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.908e-05/0.3937, allocations: 27.98 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.3937, allocations: 12 kB / 1.338 GB, free: 5.883 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.3949, allocations: 448.3 kB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.3979, allocations: 1.306 MB / 1.34 GB, free: 4.098 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.3993, allocations: 0.5315 MB / 1.34 GB, free: 3.551 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006947/0.4, allocations: 246 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.169e-05/0.4001, allocations: 12.22 kB / 1.34 GB, free: 3.293 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/0.4012, allocations: 493.8 kB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of pre-optimization done (n=69): time 3.146e-06/0.4012, allocations: 0 / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=69): time 0.002682/0.4039, allocations: 0.9886 MB / 1.342 GB, free: 1.797 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.4039, allocations: 93.05 kB / 1.342 GB, free: 1.688 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.4046, allocations: 441.8 kB / 1.342 GB, free: 1.254 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.4047, allocations: 61.69 kB / 1.342 GB, free: 1.188 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.4049, allocations: 273.4 kB / 1.343 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.4051, allocations: 174.7 kB / 1.343 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/0.4054, allocations: 182.6 kB / 1.343 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00022/0.4056, allocations: 370.8 kB / 1.343 GB, free: 188 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007805/0.4064, allocations: 287.5 kB / 1.344 GB, free: 15.9 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009181/0.4073, allocations: 0.5246 MB / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.4088, allocations: 0.6842 MB / 1.345 GB, free: 14.48 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.4088, allocations: 4 kB / 1.345 GB, free: 14.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002058/0.4108, allocations: 0.8763 MB / 1.346 GB, free: 13.58 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/0.4109, allocations: 45.62 kB / 1.346 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.4109, allocations: 11.94 kB / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.4109, allocations: 12 kB / 1.346 GB, free: 13.51 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.4114, allocations: 128.1 kB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/0.4115, allocations: 12 kB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007606/0.4122, allocations: 131.5 kB / 1.346 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/0.4123, allocations: 39.98 kB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.sysReq.tim1.u,$PRE.sysReq.tim2.u,$PRE.sysReq.tim3.u,TZonCooSet.u_internal,$PRE.TZonCooSet.u_internal,sysReq.sampler.firstTrigger,$PRE.sysReq.sampler.firstTrigger,$whenCondition15,$whenCondition16,$PRE.sysReq.tim2.t_next,$whenCondition10,$PRE.sysReq.tim1.t_next,$whenCondition7,sysReq.sampler.sampleTrigger,$whenCondition13,TZonCooSet.sampleTrigger,$whenCondition14,sysReq.tim2.t_next,booPul.y,$PRE.booPul.y,TZonCooSet.y,$PRE.TZonCooSet.y,sysReq.sampler.y,sysReq.tim2.y,sysReq.tim2.u,sysReq.tim1.y,sysReq.tim1.u,sysReq.intSwi1.y,sysReq.and2.y,sysReq.and1.y,sysReq.booToInt.y,sysReq.greThr.greHys.y,$PRE.sysReq.greThr.greHys.y,sysReq.greThr2.greHys.y,$PRE.sysReq.greThr2.greHys.y,sysReq.greThr1.greHys.y,$PRE.sysReq.greThr1.greHys.y,sysReq.yZonTemResReq,$whenCondition9,$whenCondition8,$whenCondition12,$whenCondition11,sysReq.tim1.t_next,sysReq.sampler3.firstTrigger,$PRE.sysReq.sampler3.firstTrigger,sysReq.sampler2.firstTrigger,$PRE.sysReq.sampler2.firstTrigger,sysReq.sampler1.firstTrigger,$PRE.sysReq.sampler1.firstTrigger,$PRE.sysReq.tim3.t_next,$whenCondition1,sysReq.sampler1.sampleTrigger,$whenCondition4,sysReq.sampler2.sampleTrigger,$whenCondition5,sysReq.sampler3.sampleTrigger,$whenCondition6,sysReq.sampler3.y,sysReq.sampler2.y,sysReq.sampler1.y,sysReq.and5.y,sysReq.greEqu1.greHys.y,$PRE.sysReq.greEqu1.greHys.y,sysReq.greEqu.greHys.y,$PRE.sysReq.greEqu.greHys.y,sysReq.tim3.y,sysReq.tim3.u,sysReq.swi5.y,sysReq.and4.y,sysReq.and3.y,sysReq.booToInt1.y,sysReq.greThr4.greHys.y,$PRE.sysReq.greThr4.greHys.y,sysReq.greThr3.greHys.y,$PRE.sysReq.greThr3.greHys.y,sysReq.yZonPreResReq,$whenCondition3,$whenCondition2,sysReq.tim3.t_next,sysReq.twoCooResReq.y,sysReq.thrCooResReq.y,sysReq.twoPreResReq.y,sysReq.thrPreResReq.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0004444/0.4128, allocations: 262 kB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.4129, allocations: 63.61 kB / 1.346 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.413, allocations: 64.64 kB / 1.346 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.413, allocations: 7.984 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.413, allocations: 4 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4131, allocations: 63.48 kB / 1.346 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.4133, allocations: 27.98 kB / 1.346 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.4138, allocations: 75.89 kB / 1.346 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.414, allocations: 95.78 kB / 1.347 GB, free: 12.54 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002118/0.4161, allocations: 0.9573 MB / 1.348 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001822/0.4179, allocations: 1.009 MB / 1.348 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000707/0.4186, allocations: 287.8 kB / 1.349 GB, free: 10.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003521/0.419, allocations: 275.2 kB / 1.349 GB, free: 10 MB / 1.045 GB Notification: Performance of Backend: time 5.81e-07/0.419, allocations: 0 / 1.349 GB, free: 10 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.4208, allocations: 0.5926 MB / 1.35 GB, free: 9.395 MB / 1.045 GB Notification: Performance of SimCode: time 0.002249/0.423, allocations: 1.393 MB / 1.351 GB, free: 7.949 MB / 1.045 GB Notification: Performance of Templates: time 0.01977/0.4428, allocations: 10.3 MB / 1.361 GB, free: 13.84 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_SystemRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.502859751999495]