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.001056/0.001056, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001075/0.001075, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9645/0.9645, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.896/1.896, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.705e-06/2.705e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.292e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001248/0.001271, allocations: 0.6901 MB / 0.8122 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.002459, allocations: 1.246 MB / 0.8134 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.373e-05/0.002503, allocations: 0 / 0.8134 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.002532, allocations: 3.938 kB / 0.8134 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.002597, allocations: 17.55 kB / 0.8134 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.003095, allocations: 213 kB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.003285, allocations: 175.7 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.003377, allocations: 11.98 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.003499, allocations: 100.4 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.003603, allocations: 60.83 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.00363, allocations: 16 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.022e-05/0.00369, allocations: 27.88 kB / 0.814 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.003713, allocations: 13.58 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.003772, allocations: 47.95 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.003944, allocations: 147.6 kB / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.003946, allocations: 0 / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003947, allocations: 0.5312 kB / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003951, allocations: 0 / 0.8142 GB, free: 15.31 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.0005847/0.004536, allocations: 464.6 kB / 0.8147 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.004581, allocations: 8.031 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.004642, allocations: 9.469 kB / 0.8147 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.137e-05/0.004733, allocations: 122.2 kB / 0.8148 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.004756, allocations: 16.3 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.004777, allocations: 12.31 kB / 0.8148 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.706e-05/0.004874, allocations: 58.94 kB / 0.8149 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.004882, allocations: 4.438 kB / 0.8149 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.004895, allocations: 3.984 kB / 0.8149 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.004904, allocations: 4.594 kB / 0.8149 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.004925, allocations: 4.781 kB / 0.8149 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.005347, allocations: 327.8 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.57e-05/0.005433, allocations: 48.08 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.005452, allocations: 11.69 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-06/0.005456, allocations: 0 / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.005566, allocations: 94.44 kB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.005568, allocations: 0 / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002257/0.005793, allocations: 117.5 kB / 0.8155 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.005834, allocations: 61.09 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.005931, allocations: 177.9 kB / 0.8157 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.005955, allocations: 33.7 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.006022, allocations: 143 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.006036, allocations: 22.11 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.0061, allocations: 55.34 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.006205, allocations: 496.1 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.006315, allocations: 115.4 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.006436, allocations: 181.2 kB / 0.8167 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.006576, allocations: 187.9 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.00658, allocations: 7.938 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003129/0.006893, allocations: 337.7 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.006933, allocations: 70.05 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.006938, allocations: 0 / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.006952, allocations: 4 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.732e-05/0.007, allocations: 12.42 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.007007, allocations: 8.469 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.007153, allocations: 41.27 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.007173, allocations: 15.98 kB / 0.8174 GB, free: 11.77 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.798e-05/0.007261, allocations: 176.8 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.007281, allocations: 19.88 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.007304, allocations: 8.438 kB / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007306, allocations: 0 / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.00731, allocations: 0 / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.007313, allocations: 4 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.007536, allocations: 341.8 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007537, allocations: 5.125 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-06/0.007543, allocations: 4 kB / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007546, allocations: 0 / 0.8179 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.007555, allocations: 8.891 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.007556, allocations: 0 / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007557, allocations: 0.8438 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.007691, allocations: 243.8 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-06/0.007697, allocations: 4 kB / 0.8181 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.007711, allocations: 0.5 kB / 0.8181 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.007745, allocations: 15.67 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.00778, allocations: 0 / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.007794, allocations: 7.984 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.007838, allocations: 135.7 kB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007838, allocations: 0 / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000189/0.008027, allocations: 35.94 kB / 0.8183 GB, free: 10.71 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.0001091/0.008137, allocations: 103.2 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.008398, allocations: 291.4 kB / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.0084, allocations: 0 / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.008442, allocations: 35.61 kB / 0.8187 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.00865, allocations: 31.91 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.008938, allocations: 159.7 kB / 0.8189 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.793e-05/0.008976, allocations: 72.31 kB / 0.819 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.008999, allocations: 5.828 kB / 0.819 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.009016, allocations: 12.5 kB / 0.819 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.009017, allocations: 1.094 kB / 0.819 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of Templates: time 0.003564/0.01258, allocations: 2.144 MB / 0.8211 GB, free: 7.855 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.211797564988956]