Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.001677/0.001677, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001875/0.001875, allocations: 213.3 kB / 23 MB, free: 4.965 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.36/3.36, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") [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.002101/0.002101, allocations: 64.03 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.414, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.0022/0.4162, allocations: 0.7833 MB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.4183, allocations: 1.369 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.063e-05/0.4184, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.006e-05/0.4185, allocations: 7.875 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.4186, allocations: 27.72 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008609/0.4194, allocations: 297.8 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.4199, allocations: 379.4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.42, allocations: 21.3 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.4203, allocations: 155.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.4205, allocations: 159.5 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.827e-05/0.4206, allocations: 36 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.4207, allocations: 48 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.4208, allocations: 67.86 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.4209, allocations: 131.6 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.4214, allocations: 346.9 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4214, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4214, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4214, allocations: 0 / 1.331 GB, free: 13.2 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001194/0.4226, allocations: 0.5408 MB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4226, allocations: 8.031 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.4227, allocations: 28.84 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007982/0.4235, allocations: 234.8 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.4236, allocations: 24.59 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.053e-05/0.4237, allocations: 48.34 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.4241, allocations: 252.1 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4242, allocations: 0 / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.4242, allocations: 11.98 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4242, allocations: 4 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.4245, allocations: 124.6 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.4255, allocations: 488.5 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.426, allocations: 246.5 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.4263, allocations: 132.6 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.4263, allocations: 7.984 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006988/0.427, allocations: 363.6 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.816e-06/0.427, allocations: 7.938 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.0012/0.4282, allocations: 0.6574 MB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.4282, allocations: 71.39 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.4284, allocations: 151.7 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.986e-05/0.4285, allocations: 45.7 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.617e-05/0.4286, allocations: 109.1 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.4287, allocations: 107.2 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.4289, allocations: 122.3 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.4291, allocations: 346.7 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.4294, allocations: 200.6 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.4299, allocations: 369 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006498/0.4305, allocations: 454.3 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4305, allocations: 0 / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001045/0.4316, allocations: 0.6309 MB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.589e-05/0.4316, allocations: 71.39 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.4316, allocations: 4 kB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.4317, allocations: 8 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.4318, allocations: 48.44 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.4319, allocations: 8 kB / 1.337 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.4324, allocations: 95.66 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.4324, allocations: 35.94 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,thrTimWitRes.passed,$PRE.thrTimWitRes.passed,noThrWitRes.passed,$PRE.noThrWitRes.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,resTim.y,$PRE.resTim.y,thrTimWitRes.reset,noThrWitRes.reset,$whenCondition12,$whenCondition16,booPul.y,$PRE.booPul.y,thrTimWitRes.yAcc,$PRE.thrTimWitRes.yAcc,thrTimWitRes.entryTime,$PRE.thrTimWitRes.entryTime,thrTimWitRes.u,noThrWitRes.yAcc,$PRE.noThrWitRes.yAcc,noThrWitRes.entryTime,$PRE.noThrWitRes.entryTime,noThrWitRes.u,thrTim.yAcc,$PRE.thrTim.yAcc,thrTim.entryTime,$PRE.thrTim.entryTime,thrTim.u,noThr.yAcc,$PRE.noThr.yAcc,noThr.entryTime,$PRE.noThr.entryTime,noThr.u,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,con.y,noThr.reset,$whenCondition4,thrTim.reset,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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.0002353/0.4327, allocations: 187.4 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.4327, allocations: 35.84 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.993e-05/0.4328, allocations: 30.3 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4328, allocations: 3.938 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4328, allocations: 0 / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.4328, allocations: 23.83 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.12e-05/0.4329, allocations: 23.92 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.4331, allocations: 27.97 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.4332, allocations: 47.91 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001029/0.4342, allocations: 0.6504 MB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009994/0.4352, allocations: 0.7483 MB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002909/0.4355, allocations: 176.6 kB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.011e-05/0.4356, allocations: 105 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of Backend: time 4.91e-07/0.4356, allocations: 0 / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.4366, allocations: 0.5102 MB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009127/0.4375, allocations: 0.7624 MB / 1.34 GB, free: 3.402 MB / 1.029 GB Notification: Performance of Templates: time 0.01066/0.4482, allocations: 5.077 MB / 1.345 GB, free: 14.4 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.743823869001062]