Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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.001725/0.001725, allocations: 97.11 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.002234/0.002234, allocations: 206.4 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.349/3.349, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triMovMea.u|triMovMea.y|triMovMea1.y|booPul.y|triMovMea2.y|booPul1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triMovMea.u|triMovMea.y|triMovMea1.y|booPul.y|triMovMea2.y|booPul1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [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.00206/0.00206, allocations: 69.8 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4307, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002409/0.4331, allocations: 0.8251 MB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.4352, allocations: 1.346 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.4353, allocations: 3.938 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.4355, allocations: 11.88 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.4356, allocations: 27.72 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008326/0.4364, allocations: 278.2 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.4368, allocations: 287.4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.437, allocations: 25.28 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003295/0.4373, allocations: 135.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.4375, allocations: 127.6 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.4376, allocations: 24 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.4377, allocations: 43.98 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/0.4378, allocations: 47.83 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.4379, allocations: 87.73 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.4383, allocations: 279 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.4383, allocations: 3.984 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4383, allocations: 0 / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.4383, allocations: 0 / 1.331 GB, free: 13.44 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001167/0.4395, allocations: 473.4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.4395, allocations: 12.03 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/0.4397, allocations: 28.83 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.44, allocations: 174.2 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.4401, allocations: 8.375 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.4401, allocations: 32.3 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.4405, allocations: 178.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4405, allocations: 192 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.4406, allocations: 15.92 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4406, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.4408, allocations: 88.17 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.4414, allocations: 364.5 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.4417, allocations: 110.5 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.4418, allocations: 88.8 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.4419, allocations: 4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003725/0.4422, allocations: 220.3 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.4422, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0009305/0.4432, allocations: 464.2 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.4432, allocations: 55.39 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.4433, allocations: 139.4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.4434, allocations: 41.7 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.4435, allocations: 112.7 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.72e-05/0.4436, allocations: 67.53 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.4437, allocations: 93.98 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4439, allocations: 334.9 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.4443, allocations: 208.1 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.4447, allocations: 268.5 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/0.4452, allocations: 366.3 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4452, allocations: 0 / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009294/0.4462, allocations: 0.5574 MB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/0.4462, allocations: 71.39 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4462, allocations: 0 / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4463, allocations: 4 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.4465, allocations: 47.91 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4465, allocations: 8.125 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.4469, allocations: 71.78 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.4469, allocations: 19.98 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,booPul1.y,$PRE.booPul1.y,$whenCondition4,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2,triMovMea2.ySample[3],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[1],triMovMea2.index,triMovMea2.counter,$PRE.triMovMea2.counter,triMovMea2.iSample,$PRE.triMovMea2.iSample,triMovMea2.y,triMovMea1.ySample[1],$PRE.triMovMea1.ySample[1],triMovMea1.index,triMovMea1.counter,$PRE.triMovMea1.counter,triMovMea1.iSample,$PRE.triMovMea1.iSample,triMovMea1.y,triMovMea.ySample[3],$PRE.triMovMea.ySample[3],triMovMea.ySample[2],$PRE.triMovMea.ySample[2],triMovMea.ySample[1],$PRE.triMovMea.ySample[1],triMovMea.index,triMovMea.counter,$PRE.triMovMea.counter,triMovMea.iSample,$PRE.triMovMea.iSample,triMovMea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * 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.0002146/0.4472, allocations: 174.3 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.4472, allocations: 15.91 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.4472, allocations: 17.97 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4472, allocations: 3.938 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4473, allocations: 7.984 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.4473, allocations: 11.91 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.4473, allocations: 23.92 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.4474, allocations: 4 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.4475, allocations: 19.97 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006816/0.4482, allocations: 436.7 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007451/0.4489, allocations: 0.5321 MB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001827/0.4491, allocations: 87.94 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.811e-05/0.4492, allocations: 108.9 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of Backend: time 5.92e-07/0.4492, allocations: 0 / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009584/0.4501, allocations: 472.3 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008565/0.451, allocations: 0.7307 MB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of Templates: time 0.008487/0.4595, allocations: 4.282 MB / 1.342 GB, free: 1.531 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMovingMean.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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.400823781994404]