Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.0007459/0.0007459, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001809, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006904/0.0006904, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009641/0.001655, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9944/0.9944, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1195/1.114, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.5/2.5, allocations: 447.1 MB / 0.675 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2808/2.781, allocations: 146 MB / 0.8176 GB, free: 3.859 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.61e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002207/0.002233, allocations: 0.7354 MB / 0.8197 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.003654, allocations: 1.244 MB / 0.8209 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.003701, allocations: 0 / 0.8209 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.003726, allocations: 3.938 kB / 0.8209 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.375e-05/0.003769, allocations: 27.78 kB / 0.8209 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.004197, allocations: 207.4 kB / 0.8211 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.004382, allocations: 175.7 kB / 0.8213 GB, free: 112 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.12e-05/0.004453, allocations: 8 kB / 0.8213 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.004592, allocations: 111.9 kB / 0.8214 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.004699, allocations: 51.84 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.004726, allocations: 16 kB / 0.8215 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.236e-05/0.004798, allocations: 31.92 kB / 0.8215 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.004822, allocations: 8 kB / 0.8215 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.004868, allocations: 35.94 kB / 0.8215 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.00502, allocations: 103.8 kB / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.005032, allocations: 0 / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005033, allocations: 0 / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.005048, allocations: 0 / 0.8216 GB, free: 15.75 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004613/0.005509, allocations: 355.8 kB / 0.822 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.00554, allocations: 15.97 kB / 0.822 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.005584, allocations: 12.92 kB / 0.822 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.053e-05/0.005674, allocations: 121.7 kB / 0.8221 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.005693, allocations: 12.38 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.005718, allocations: 16.36 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.279e-05/0.0058, allocations: 54.94 kB / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.005808, allocations: 3.938 kB / 0.8222 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.005816, allocations: 4 kB / 0.8222 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.005822, allocations: 0 / 0.8222 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.179e-05/0.005833, allocations: 4 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.006116, allocations: 188.1 kB / 0.8224 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.547e-05/0.006182, allocations: 30.55 kB / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.124e-05/0.006193, allocations: 12.86 kB / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-06/0.006196, allocations: 0 / 0.8224 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.941e-05/0.006296, allocations: 91.38 kB / 0.8225 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.006296, allocations: 0 / 0.8225 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001428/0.006439, allocations: 81.59 kB / 0.8226 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.006478, allocations: 51.41 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.006567, allocations: 126.7 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.006597, allocations: 29.7 kB / 0.8228 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.006643, allocations: 96.3 kB / 0.8229 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.006663, allocations: 19.89 kB / 0.8229 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.00672, allocations: 49.67 kB / 0.8229 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.006797, allocations: 322.8 kB / 0.8232 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.006875, allocations: 99.38 kB / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.006964, allocations: 145.4 kB / 0.8235 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.007077, allocations: 173.2 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.00708, allocations: 4 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002004/0.00728, allocations: 280.2 kB / 0.8239 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.007328, allocations: 72.8 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.007333, allocations: 0 / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.007346, allocations: 4 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.007387, allocations: 7.938 kB / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.007391, allocations: 4 kB / 0.824 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.007532, allocations: 47.84 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.007551, allocations: 16.14 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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 6.798e-05/0.007619, allocations: 124 kB / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.007632, allocations: 11.94 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.152e-05/0.007654, allocations: 12.42 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.007657, allocations: 4.078 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007659, allocations: 0 / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.007662, allocations: 4 kB / 0.8242 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.007809, allocations: 214.8 kB / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.007811, allocations: 3.938 kB / 0.8244 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-06/0.007817, allocations: 8 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-06/0.007825, allocations: 7.938 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007827, allocations: 4 kB / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.007832, allocations: 0 / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.007833, allocations: 0 / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.007837, allocations: 11.97 kB / 0.8244 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.08e-05/0.007918, allocations: 159.4 kB / 0.8246 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.007932, allocations: 8 kB / 0.8246 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.007966, allocations: 0 / 0.8246 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.007989, allocations: 3.984 kB / 0.8246 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.007999, allocations: 8 kB / 0.8246 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.581e-05/0.008015, allocations: 20.84 kB / 0.8246 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.008015, allocations: 0 / 0.8246 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000152/0.008167, allocations: 28 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001098/0.008277, allocations: 102.7 kB / 0.8248 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.008479, allocations: 263 kB / 0.825 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.008483, allocations: 0 / 0.825 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.008513, allocations: 41.28 kB / 0.8251 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.008694, allocations: 139.4 kB / 0.8252 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.009085, allocations: 153 kB / 0.8253 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.009122, allocations: 67.2 kB / 0.8254 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.971e-05/0.009142, allocations: 4.734 kB / 0.8254 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.009234, allocations: 75.34 kB / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.009235, allocations: 0 / 0.8255 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of Templates: time 0.003501/0.01274, allocations: 2.349 MB / 0.8278 GB, free: 9.039 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3871014053002]