Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 112.7 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.00144/0.001441, allocations: 190.7 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.451/1.451, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 67.89 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9111/0.9127, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.00206/0.9148, allocations: 0.8147 MB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.9166, allocations: 1.348 MB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.795e-05/0.9168, allocations: 1.125 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.9168, allocations: 13.92 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.9169, allocations: 21.78 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000897/0.9178, allocations: 297.5 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.9183, allocations: 396.9 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.9185, allocations: 27.2 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.9187, allocations: 156.9 kB / 1.092 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.919, allocations: 153.1 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-05/0.9191, allocations: 37.19 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.9192, allocations: 51.33 kB / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.877e-05/0.9193, allocations: 67.23 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.9195, allocations: 152.7 kB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.92, allocations: 337 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.92, allocations: 1.797 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.92, allocations: 0 / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.9201, allocations: 7.938 kB / 1.092 GB, free: 3.266 MB / 0.8575 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.001079/0.9211, allocations: 0.6054 MB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.9212, allocations: 13.53 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.9213, allocations: 32.33 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.9221, allocations: 288.2 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-05/0.9221, allocations: 27.12 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-05/0.9222, allocations: 39.02 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.9228, allocations: 271.2 kB / 1.094 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.9228, allocations: 0 / 1.094 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.9228, allocations: 9.141 kB / 1.094 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.9228, allocations: 3.031 kB / 1.094 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.9231, allocations: 130 kB / 1.094 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.9242, allocations: 0.5961 MB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.9248, allocations: 421 kB / 1.095 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.9251, allocations: 180.8 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.9251, allocations: 2.531 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007237/0.9258, allocations: 367.3 kB / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 3.317e-06/0.9258, allocations: 0 / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.001308/0.9272, allocations: 0.6673 MB / 1.096 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.9272, allocations: 62.33 kB / 1.096 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.9274, allocations: 154.3 kB / 1.096 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.124e-05/0.9274, allocations: 59.75 kB / 1.096 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.9275, allocations: 107.3 kB / 1.096 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.73e-05/0.9276, allocations: 102.5 kB / 1.096 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.9279, allocations: 120.3 kB / 1.097 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.928, allocations: 341.2 kB / 1.097 GB, free: 500 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.9283, allocations: 141.9 kB / 1.097 GB, free: 456 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.9287, allocations: 297.8 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006424/0.9294, allocations: 455.9 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.9294, allocations: 2.219 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001089/0.9305, allocations: 0.5669 MB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/0.9306, allocations: 64.75 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.9306, allocations: 4.625 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.9306, allocations: 8.281 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.9308, allocations: 47.56 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/0.9308, allocations: 12.64 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000517/0.9313, allocations: 97.86 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.9314, allocations: 34.19 kB / 1.099 GB, free: 15.46 MB / 0.8731 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.0002203/0.9317, allocations: 176.4 kB / 1.099 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.9317, allocations: 31.44 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.504e-05/0.9318, allocations: 25.78 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.9318, allocations: 2.438 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.9318, allocations: 1.25 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.9319, allocations: 103.8 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.932, allocations: 22.45 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.9321, allocations: 27.14 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.9322, allocations: 43.48 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001041/0.9333, allocations: 0.6397 MB / 1.1 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009863/0.9343, allocations: 0.7237 MB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003929/0.9347, allocations: 277.5 kB / 1.101 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.374e-05/0.9348, allocations: 105.1 kB / 1.101 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of Backend: time 6.81e-07/0.9348, allocations: 4 kB / 1.101 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.936, allocations: 0.4899 MB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0009783/0.937, allocations: 0.7616 MB / 1.102 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of Templates: time 0.01116/0.9481, allocations: 4.403 MB / 1.106 GB, free: 12.92 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches