Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 387.1 MB / 399.7 MB, free: 9.484 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001004, allocations: 168.9 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 221.3 MB / 0.7871 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009832/0.0009836, allocations: 104.2 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.11e-05, allocations: 6.188 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2968, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9114/1.208, allocations: 149.4 MB / 1.358 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/1.209, allocations: 69.56 kB / 1.358 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008755/1.217, allocations: 2.941 MB / 1.361 GB, free: 34.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.412e-06/1.217, allocations: 0 / 1.361 GB, free: 34.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.253e-06/1.217, allocations: 3.719 kB / 1.361 GB, free: 34.61 MB / 0.8386 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.0004009/1.218, allocations: 413.6 kB / 1.362 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.218, allocations: 11 kB / 1.362 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/1.218, allocations: 11.44 kB / 1.362 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.46e-05/1.218, allocations: 172.6 kB / 1.362 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/1.218, allocations: 11.56 kB / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/1.218, allocations: 13.72 kB / 1.362 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/1.218, allocations: 50.98 kB / 1.362 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/1.218, allocations: 0 / 1.362 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/1.218, allocations: 0 / 1.362 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/1.218, allocations: 3.781 kB / 1.362 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.53e-05/1.218, allocations: 12.45 kB / 1.362 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/1.219, allocations: 365.3 kB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.563e-05/1.219, allocations: 34.56 kB / 1.362 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/1.219, allocations: 15.67 kB / 1.362 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/1.219, allocations: 1.266 kB / 1.362 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/1.219, allocations: 95.08 kB / 1.362 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/1.219, allocations: 0 / 1.362 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000217/1.219, allocations: 99.81 kB / 1.362 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/1.219, allocations: 56.94 kB / 1.363 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/1.219, allocations: 121.5 kB / 1.363 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/1.219, allocations: 33.42 kB / 1.363 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/1.22, allocations: 89.62 kB / 1.363 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/1.22, allocations: 23.88 kB / 1.363 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/1.22, allocations: 7.781 kB / 1.363 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/1.22, allocations: 321.3 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/1.22, allocations: 55.81 kB / 1.363 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/1.22, allocations: 104 kB / 1.363 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/1.22, allocations: 126.4 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.22, allocations: 0 / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000432/1.221, allocations: 268.4 kB / 1.364 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/1.221, allocations: 69.95 kB / 1.364 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.221, allocations: 0 / 1.364 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.221, allocations: 9.688 kB / 1.364 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.819e-05/1.221, allocations: 3.844 kB / 1.364 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/1.221, allocations: 7.781 kB / 1.364 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/1.221, allocations: 72 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/1.221, allocations: 25.73 kB / 1.364 GB, free: 32.62 MB / 0.8386 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 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.275e-05/1.221, allocations: 113.4 kB / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/1.221, allocations: 7.75 kB / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/1.221, allocations: 9.719 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.221, allocations: 0 / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.221, allocations: 4 kB / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.221, allocations: 0 / 1.364 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/1.222, allocations: 362.1 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.222, allocations: 1.5 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/1.222, allocations: 7.781 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.222, allocations: 0 / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/1.222, allocations: 4.281 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.222, allocations: 3.984 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.222, allocations: 0 / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/1.222, allocations: 211.9 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/1.222, allocations: 81.02 kB / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/1.222, allocations: 5.125 kB / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/1.222, allocations: 0 / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/1.222, allocations: 11.59 kB / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/1.222, allocations: 0 / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.342e-05/1.222, allocations: 94.67 kB / 1.365 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.222, allocations: 0 / 1.365 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002601/1.222, allocations: 50.23 kB / 1.365 GB, free: 31.85 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/1.222, allocations: 111.8 kB / 1.365 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000276/1.223, allocations: 256.7 kB / 1.365 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.223, allocations: 192 / 1.365 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.816e-05/1.223, allocations: 33.84 kB / 1.365 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/1.223, allocations: 17.22 kB / 1.365 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/1.223, allocations: 108.3 kB / 1.365 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/1.223, allocations: 0.6936 MB / 1.366 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.787e-05/1.223, allocations: 6.312 kB / 1.366 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/1.224, allocations: 15.19 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.224, allocations: 0 / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of Templates: time 0.004015/1.228, allocations: 1.737 MB / 1.368 GB, free: 30.68 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches