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.001024/0.001024, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001419/0.001419, allocations: 181 kB / 24.09 MB, free: 416 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.9974/0.9974, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.94/1.94, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.006e-06/3.006e-06, allocations: 0 / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.77e-05, allocations: 2.312 kB / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001517/0.001544, allocations: 0.6984 MB / 0.8127 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.003225, allocations: 1.249 MB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.003295, allocations: 0.875 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.003337, allocations: 3.938 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.003449, allocations: 18.22 kB / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.004084, allocations: 207.5 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.004288, allocations: 183.6 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.004382, allocations: 13.12 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.004522, allocations: 95.88 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.004641, allocations: 55.89 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.004671, allocations: 17.19 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.004739, allocations: 23.94 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.004766, allocations: 19.91 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.00482, allocations: 53.08 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.004991, allocations: 139.6 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.004995, allocations: 0 / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004996, allocations: 0.8125 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.005, allocations: 0 / 0.8147 GB, free: 14.66 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.0004354/0.005436, allocations: 469.2 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.005476, allocations: 8.031 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.005523, allocations: 8.938 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.651e-05/0.0056, allocations: 120.5 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.005621, allocations: 16.88 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.005642, allocations: 14.31 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.142e-05/0.005723, allocations: 54.94 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.005731, allocations: 3.938 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.005738, allocations: 3.938 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.005744, allocations: 0 / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.748e-05/0.005761, allocations: 9.719 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.006262, allocations: 304.4 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.535e-05/0.006338, allocations: 35.05 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.321e-05/0.006351, allocations: 15.77 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.006357, allocations: 8.75 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.006463, allocations: 92.95 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.006464, allocations: 0.5312 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001891/0.006654, allocations: 110.3 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.006684, allocations: 55.41 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.00677, allocations: 178.4 kB / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.00679, allocations: 35 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.006846, allocations: 143 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.00686, allocations: 15.89 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.006922, allocations: 59.33 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.007035, allocations: 0.4928 MB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.007122, allocations: 108.7 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.007224, allocations: 169.2 kB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.007355, allocations: 178.8 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.007357, allocations: 0 / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00028/0.007637, allocations: 329.4 kB / 0.8176 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.397e-05/0.007681, allocations: 68.23 kB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007685, allocations: 0 / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.007699, allocations: 5.219 kB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.188e-05/0.007741, allocations: 4 kB / 0.8177 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.007746, allocations: 7.938 kB / 0.8177 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.007903, allocations: 49.16 kB / 0.8178 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.007924, allocations: 15.98 kB / 0.8178 GB, free: 11.2 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 9.469e-05/0.008019, allocations: 166.2 kB / 0.8179 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.008035, allocations: 11.89 kB / 0.8179 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.008063, allocations: 12.44 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008065, allocations: 2.719 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.008067, allocations: 3.984 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.00807, allocations: 0 / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.008286, allocations: 322 kB / 0.8183 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.008288, allocations: 0 / 0.8183 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-06/0.008297, allocations: 7.938 kB / 0.8183 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008298, allocations: 0 / 0.8183 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.008305, allocations: 4.484 kB / 0.8183 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.008307, allocations: 5.062 kB / 0.8183 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008309, allocations: 3.938 kB / 0.8183 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.008439, allocations: 243.8 kB / 0.8185 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.008445, allocations: 1.312 kB / 0.8185 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.00846, allocations: 7.984 kB / 0.8185 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.349e-05/0.008493, allocations: 0 / 0.8185 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.008517, allocations: 7.984 kB / 0.8185 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.008528, allocations: 4.875 kB / 0.8185 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.902e-05/0.008568, allocations: 135.2 kB / 0.8187 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008568, allocations: 1.344 kB / 0.8187 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001881/0.008756, allocations: 35.94 kB / 0.8187 GB, free: 10.18 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.0001292/0.008885, allocations: 106.7 kB / 0.8188 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.009107, allocations: 278.5 kB / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009108, allocations: 0.6562 kB / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/0.009136, allocations: 28.23 kB / 0.8191 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.009347, allocations: 27.05 kB / 0.8191 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.009599, allocations: 166.5 kB / 0.8193 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.802e-05/0.009637, allocations: 67.2 kB / 0.8193 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.417e-05/0.009661, allocations: 8.812 kB / 0.8194 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.009766, allocations: 104.8 kB / 0.8195 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.009766, allocations: 0 / 0.8195 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of Templates: time 0.003841/0.01361, allocations: 2.312 MB / 0.8217 GB, free: 7.078 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.230618168134242]