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.0009745/0.0009745, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001463/0.001463, allocations: 165 kB / 24.17 MB, free: 324 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.9785/0.9785, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.022/2.022, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.374e-06/2.374e-06, allocations: 0 / 0.7601 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.564e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00213/0.002156, allocations: 0.7427 MB / 0.7608 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.004039, allocations: 1.256 MB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.00408, allocations: 1.469 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.004109, allocations: 3.938 kB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.004191, allocations: 15.91 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.004775, allocations: 213.7 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00025/0.005025, allocations: 178.2 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.44e-05/0.00511, allocations: 11.98 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.005267, allocations: 104.9 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.005394, allocations: 48.56 kB / 0.7626 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.005429, allocations: 16.59 kB / 0.7626 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.595e-05/0.005525, allocations: 31.98 kB / 0.7626 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.005548, allocations: 13.55 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.005613, allocations: 47.95 kB / 0.7627 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.005819, allocations: 147.6 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005822, allocations: 0 / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005823, allocations: 1 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.005827, allocations: 0 / 0.7628 GB, free: 3.832 MB / 0.7136 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.0004088/0.006236, allocations: 332.2 kB / 0.7631 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.00627, allocations: 8.781 kB / 0.7631 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.006319, allocations: 12.92 kB / 0.7632 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.235e-05/0.006411, allocations: 110.5 kB / 0.7633 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.006438, allocations: 12.38 kB / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.006464, allocations: 9.125 kB / 0.7633 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.759e-05/0.006552, allocations: 54.94 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.00656, allocations: 6.125 kB / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.006568, allocations: 4 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.006574, allocations: 3.984 kB / 0.7633 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.14e-05/0.006595, allocations: 11.92 kB / 0.7634 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.006927, allocations: 192.1 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.007002, allocations: 24.39 kB / 0.7636 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/0.007018, allocations: 12.94 kB / 0.7636 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-06/0.007022, allocations: 0 / 0.7636 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.007139, allocations: 91.28 kB / 0.7637 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.007141, allocations: 3.094 kB / 0.7637 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001536/0.007294, allocations: 81.59 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.007324, allocations: 51.41 kB / 0.7638 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.007407, allocations: 134.6 kB / 0.7639 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.007434, allocations: 29.7 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.00748, allocations: 84.38 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.007501, allocations: 23.88 kB / 0.7641 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.407e-05/0.007585, allocations: 45.67 kB / 0.7641 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.62e-05/0.007671, allocations: 325.6 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.007774, allocations: 95.38 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.007893, allocations: 145.3 kB / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.008054, allocations: 166.6 kB / 0.7648 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.008056, allocations: 0 / 0.7648 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002937/0.00835, allocations: 277.7 kB / 0.7651 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.008404, allocations: 67.39 kB / 0.7651 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.008409, allocations: 0 / 0.7651 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.008423, allocations: 5.281 kB / 0.7651 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.445e-05/0.008467, allocations: 8 kB / 0.7651 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.00847, allocations: 0 / 0.7651 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.008671, allocations: 53.28 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.008699, allocations: 11.98 kB / 0.7652 GB, free: 1.117 MB / 0.7136 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.655e-05/0.008785, allocations: 122.4 kB / 0.7653 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.008806, allocations: 12.42 kB / 0.7653 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.008831, allocations: 11.5 kB / 0.7653 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.008834, allocations: 7.938 kB / 0.7653 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.008836, allocations: 0 / 0.7653 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.008839, allocations: 0 / 0.7653 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.009062, allocations: 218.8 kB / 0.7656 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.009066, allocations: 7.938 kB / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/0.009077, allocations: 0 / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.00908, allocations: 0 / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.009087, allocations: 3.125 kB / 0.7656 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.009089, allocations: 4 kB / 0.7656 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.009092, allocations: 4 kB / 0.7656 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.009214, allocations: 159.5 kB / 0.7657 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.00923, allocations: 15.89 kB / 0.7657 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.009248, allocations: 4 kB / 0.7657 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.009305, allocations: 0 / 0.7657 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.009334, allocations: 7.984 kB / 0.7658 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.009348, allocations: 7.984 kB / 0.7658 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.582e-05/0.009374, allocations: 22.58 kB / 0.7658 GB, free: 484 kB / 0.7136 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009374, allocations: 0 / 0.7658 GB, free: 484 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002828/0.009657, allocations: 32 kB / 0.7658 GB, free: 452 kB / 0.7136 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.0001379/0.009794, allocations: 93.5 kB / 0.7659 GB, free: 352 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.01006, allocations: 261.1 kB / 0.7661 GB, free: 52 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.01006, allocations: 4.594 kB / 0.7662 GB, free: 48 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.182e-05/0.0101, allocations: 34.48 kB / 0.7662 GB, free: 12 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.01035, allocations: 21.47 kB / 0.7662 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.01064, allocations: 160.8 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.317e-05/0.01068, allocations: 60.25 kB / 0.7664 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.01071, allocations: 8.734 kB / 0.7664 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.01084, allocations: 79.86 kB / 0.7665 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of SimCode: time 7.22e-07/0.01084, allocations: 0.8125 kB / 0.7665 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.005026/0.01587, allocations: 2.306 MB / 0.7688 GB, free: 13.47 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.128670221660286]