Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001038/0.001038, allocations: 83.59 kB / 20.45 MB, free: 4.113 MB / 18.57 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.001197/0.001197, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 18.57 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.9958/0.9958, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.933/1.933, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.687e-06/3.687e-06, allocations: 0.875 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.404e-05, allocations: 3.312 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00196/0.001994, allocations: 0.7005 MB / 0.8122 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.003333, allocations: 1.254 MB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.003378, allocations: 0 / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.003414, allocations: 7.922 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.003488, allocations: 8.812 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.004032, allocations: 218.1 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.004227, allocations: 179.6 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.004332, allocations: 7.984 kB / 0.8139 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.004452, allocations: 95.92 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.004577, allocations: 57.31 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.00461, allocations: 16 kB / 0.814 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.905e-05/0.004679, allocations: 35.92 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.004704, allocations: 19.91 kB / 0.8141 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.004765, allocations: 45.66 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.004947, allocations: 139.7 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.00495, allocations: 3.938 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004951, allocations: 0 / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.004957, allocations: 0 / 0.8142 GB, free: 14.96 MB / 0.7761 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.00045/0.005407, allocations: 469 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.005447, allocations: 8.031 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.005509, allocations: 8.938 kB / 0.8147 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.074e-05/0.0056, allocations: 117.7 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.005623, allocations: 12.38 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.005648, allocations: 12.36 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.005753, allocations: 59.72 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.005765, allocations: 3.938 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.005776, allocations: 6.125 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.005784, allocations: 0 / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.199e-05/0.005806, allocations: 4 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.006231, allocations: 335.7 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.296e-05/0.006314, allocations: 35 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.006334, allocations: 16.3 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.006341, allocations: 4.719 kB / 0.8153 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.006461, allocations: 96.91 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.006463, allocations: 0.5 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002311/0.006694, allocations: 119.1 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.006726, allocations: 51.41 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.006932, allocations: 181.9 kB / 0.8157 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.006958, allocations: 33.7 kB / 0.8158 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.007022, allocations: 139.7 kB / 0.8159 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.007037, allocations: 15.91 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.007108, allocations: 60.27 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.007222, allocations: 0.4884 MB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.007334, allocations: 120 kB / 0.8166 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.007473, allocations: 189.1 kB / 0.8167 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.007616, allocations: 183.1 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.007621, allocations: 4.75 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003232/0.007944, allocations: 337.1 kB / 0.8172 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.007986, allocations: 68.61 kB / 0.8173 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.007993, allocations: 4 kB / 0.8173 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.008009, allocations: 96 / 0.8173 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.008059, allocations: 7.984 kB / 0.8173 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.008065, allocations: 4.969 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.008219, allocations: 54.16 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.008241, allocations: 11.98 kB / 0.8174 GB, free: 11.42 MB / 0.7761 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 8.149e-05/0.008322, allocations: 172.5 kB / 0.8175 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.008338, allocations: 19.94 kB / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.00837, allocations: 7.844 kB / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008372, allocations: 0 / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.008376, allocations: 4 kB / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.008379, allocations: 0 / 0.8176 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.008613, allocations: 345.3 kB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.008617, allocations: 4 kB / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-06/0.008625, allocations: 0 / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.008627, allocations: 0 / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.008638, allocations: 4 kB / 0.8179 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.00864, allocations: 4.922 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.008642, allocations: 0 / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.008783, allocations: 252.2 kB / 0.8182 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-06/0.008788, allocations: 0 / 0.8182 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.008804, allocations: 4.562 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.008837, allocations: 4.547 kB / 0.8182 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.00887, allocations: 11.94 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.008884, allocations: 4.984 kB / 0.8182 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.008927, allocations: 135.1 kB / 0.8183 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008927, allocations: 0 / 0.8183 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001891/0.009116, allocations: 41.02 kB / 0.8183 GB, free: 10.36 MB / 0.7761 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.0001318/0.009248, allocations: 103.9 kB / 0.8184 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.009517, allocations: 287.5 kB / 0.8187 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.009519, allocations: 0 / 0.8187 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.009556, allocations: 39.61 kB / 0.8188 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.00978, allocations: 28.62 kB / 0.8188 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.01007, allocations: 162.6 kB / 0.8189 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.094e-05/0.01012, allocations: 67.14 kB / 0.819 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.223e-05/0.01014, allocations: 4.734 kB / 0.819 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.01016, allocations: 12.5 kB / 0.819 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of SimCode: time 8.02e-07/0.01016, allocations: 0 / 0.819 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of Templates: time 0.003748/0.01391, allocations: 2.133 MB / 0.8211 GB, free: 7.523 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4276051968336105]