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.001171/0.001171, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001026/0.001026, allocations: 162.7 kB / 24.86 MB, free: 9.285 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.9684/0.9684, allocations: 177.1 MB / 205.3 MB, free: 5.125 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.909/1.909, allocations: 377.9 MB / 0.6247 GB, free: 8.402 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 1.803e-06/1.803e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.155e-05, allocations: 4.984 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001283/0.001304, allocations: 0.6948 MB / 0.8135 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.002592, allocations: 1.245 MB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.002638, allocations: 0.6562 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.815e-05/0.002666, allocations: 3.938 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.002731, allocations: 13.3 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.003252, allocations: 212.1 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.003465, allocations: 180.5 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.521e-05/0.003531, allocations: 11.98 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.003643, allocations: 96.58 kB / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.003743, allocations: 59.78 kB / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.003772, allocations: 20.62 kB / 0.8153 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.364e-05/0.003826, allocations: 29.17 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.00385, allocations: 15.92 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.003901, allocations: 47.95 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.004066, allocations: 147.6 kB / 0.8155 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004067, allocations: 2.125 kB / 0.8155 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004068, allocations: 0 / 0.8155 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.004074, allocations: 0 / 0.8155 GB, free: 14.69 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.0004293/0.004503, allocations: 467.8 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.004537, allocations: 8.031 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.004583, allocations: 13.78 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.831e-05/0.004671, allocations: 116.5 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.004688, allocations: 4.375 kB / 0.8161 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.004708, allocations: 13.91 kB / 0.8161 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.936e-05/0.004787, allocations: 58.94 kB / 0.8161 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.004797, allocations: 3.938 kB / 0.8161 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-06/0.004803, allocations: 0 / 0.8161 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.004811, allocations: 1.531 kB / 0.8161 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.004831, allocations: 11.92 kB / 0.8161 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.00519, allocations: 308.4 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.888e-05/0.005269, allocations: 36.05 kB / 0.8165 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.005284, allocations: 11.69 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-06/0.005288, allocations: 3.938 kB / 0.8165 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.005399, allocations: 101.7 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.0054, allocations: 1.062 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001884/0.005588, allocations: 105.6 kB / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.005625, allocations: 55.41 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/0.005718, allocations: 179.4 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.005745, allocations: 37.64 kB / 0.817 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.005813, allocations: 139 kB / 0.8171 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.005831, allocations: 23.88 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-05/0.005904, allocations: 59.86 kB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.006027, allocations: 0.4929 MB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.006111, allocations: 99.36 kB / 0.8177 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.006216, allocations: 169.6 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.006345, allocations: 178.8 kB / 0.8181 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.006347, allocations: 4.531 kB / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000303/0.00665, allocations: 329.5 kB / 0.8184 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.006699, allocations: 68.67 kB / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006704, allocations: 0 / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.006715, allocations: 4 kB / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.824e-05/0.006753, allocations: 4.656 kB / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.006758, allocations: 4 kB / 0.8185 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.00691, allocations: 45.47 kB / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.006933, allocations: 16 kB / 0.8185 GB, free: 11.23 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 0.000101/0.007034, allocations: 179.4 kB / 0.8187 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.007051, allocations: 17.31 kB / 0.8187 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.007079, allocations: 12.44 kB / 0.8187 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.007083, allocations: 0 / 0.8187 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.007086, allocations: 0 / 0.8187 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.007091, allocations: 0.5938 kB / 0.8187 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.007341, allocations: 322.5 kB / 0.819 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.007343, allocations: 0 / 0.819 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-06/0.00735, allocations: 5.844 kB / 0.819 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007351, allocations: 0 / 0.819 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.007357, allocations: 0 / 0.819 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007358, allocations: 0 / 0.819 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.007361, allocations: 4 kB / 0.819 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.007511, allocations: 248.6 kB / 0.8193 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.007518, allocations: 0 / 0.8193 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.007535, allocations: 11.94 kB / 0.8193 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.982e-05/0.007565, allocations: 7.406 kB / 0.8193 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.007592, allocations: 7.984 kB / 0.8193 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.007603, allocations: 3.984 kB / 0.8193 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.007661, allocations: 131.7 kB / 0.8194 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007661, allocations: 0 / 0.8194 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001899/0.007851, allocations: 35.92 kB / 0.8195 GB, free: 10.21 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.0001049/0.007956, allocations: 103.2 kB / 0.8196 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.008189, allocations: 282.9 kB / 0.8198 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.00819, allocations: 0 / 0.8198 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.859e-05/0.008219, allocations: 31.66 kB / 0.8199 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.008407, allocations: 22.09 kB / 0.8199 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.008621, allocations: 163.2 kB / 0.82 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.008656, allocations: 67.2 kB / 0.8201 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.791e-05/0.008674, allocations: 6.703 kB / 0.8201 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.008776, allocations: 106.2 kB / 0.8202 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.008776, allocations: 0 / 0.8202 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of Templates: time 0.003558/0.01233, allocations: 2.371 MB / 0.8225 GB, free: 7.066 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.27063963888213]