Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009393/0.0009393, 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.0008895/0.0008895, allocations: 185.3 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.9548/0.9548, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.799/1.799, allocations: 359 MB / 0.6055 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.436e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001162/0.001177, allocations: 0.6931 MB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.00234, allocations: 1.234 MB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.002381, allocations: 9.062 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.002405, allocations: 7.922 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.002474, allocations: 17.58 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.002919, allocations: 212.1 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.003075, allocations: 171.7 kB / 0.7899 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.259e-05/0.003148, allocations: 20.62 kB / 0.7899 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.003251, allocations: 93.09 kB / 0.79 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.97e-05/0.003341, allocations: 51.91 kB / 0.79 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.003367, allocations: 16 kB / 0.79 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.633e-05/0.003423, allocations: 35.91 kB / 0.7901 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.003446, allocations: 16.42 kB / 0.7901 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.003492, allocations: 54.8 kB / 0.7901 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.003631, allocations: 135.6 kB / 0.7903 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003632, allocations: 0 / 0.7903 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.61e-07/0.003633, allocations: 0 / 0.7903 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.003636, allocations: 0 / 0.7903 GB, free: 9.438 MB / 0.7448 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.0003402/0.003976, allocations: 467.8 kB / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.004006, allocations: 8.031 kB / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.004042, allocations: 16.94 kB / 0.7907 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.469e-05/0.004106, allocations: 121.9 kB / 0.7908 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.00412, allocations: 4.375 kB / 0.7908 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.00414, allocations: 16.36 kB / 0.7909 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.4e-05/0.004204, allocations: 55.48 kB / 0.7909 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.00421, allocations: 3.938 kB / 0.7909 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.004217, allocations: 8.922 kB / 0.7909 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.004221, allocations: 0 / 0.7909 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.24e-05/0.004233, allocations: 4.719 kB / 0.7909 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.004517, allocations: 308.3 kB / 0.7912 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.684e-05/0.004573, allocations: 44.36 kB / 0.7913 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.264e-05/0.004586, allocations: 11.69 kB / 0.7913 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.004592, allocations: 8.016 kB / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.004708, allocations: 94.77 kB / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.004709, allocations: 0 / 0.7914 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.000155/0.004864, allocations: 105.8 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.004891, allocations: 59.39 kB / 0.7915 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.004957, allocations: 175.4 kB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.004976, allocations: 33.7 kB / 0.7917 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.00503, allocations: 147 kB / 0.7919 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.005042, allocations: 15.89 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.005102, allocations: 61.23 kB / 0.7919 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.005208, allocations: 0.4884 MB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.00528, allocations: 107.4 kB / 0.7925 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.089e-05/0.005371, allocations: 161.6 kB / 0.7927 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.005482, allocations: 187.5 kB / 0.7929 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005484, allocations: 0 / 0.7929 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00025/0.005734, allocations: 324.7 kB / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.00577, allocations: 70.14 kB / 0.7932 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.005775, allocations: 4 kB / 0.7932 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.005783, allocations: 0.5312 kB / 0.7932 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.192e-05/0.005815, allocations: 13.56 kB / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.005818, allocations: 0 / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.005953, allocations: 52.47 kB / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.005977, allocations: 11.98 kB / 0.7933 GB, free: 5.973 MB / 0.7448 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 7.608e-05/0.006053, allocations: 166 kB / 0.7935 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.006065, allocations: 11.94 kB / 0.7935 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.804e-05/0.006083, allocations: 9.344 kB / 0.7935 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.006085, allocations: 7.938 kB / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.006087, allocations: 0 / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.00609, allocations: 1.156 kB / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.006272, allocations: 333.9 kB / 0.7938 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.006273, allocations: 3.938 kB / 0.7938 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-06/0.006277, allocations: 0.5 kB / 0.7938 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.00628, allocations: 4.5 kB / 0.7938 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.006286, allocations: 4.828 kB / 0.7938 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.006286, allocations: 0 / 0.7938 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006287, allocations: 0.8438 kB / 0.7938 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.006392, allocations: 235.8 kB / 0.7941 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.0064, allocations: 12.05 kB / 0.7941 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.006411, allocations: 5.703 kB / 0.7941 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-05/0.006441, allocations: 3.984 kB / 0.7941 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.006459, allocations: 4 kB / 0.7941 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.00647, allocations: 11.98 kB / 0.7941 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.006509, allocations: 140 kB / 0.7942 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006509, allocations: 0 / 0.7942 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001741/0.006683, allocations: 31.94 kB / 0.7943 GB, free: 4.953 MB / 0.7448 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 8.568e-05/0.006769, allocations: 101.5 kB / 0.7944 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.006968, allocations: 277.7 kB / 0.7946 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.00697, allocations: 6.094 kB / 0.7946 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.007, allocations: 31.61 kB / 0.7947 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.00718, allocations: 19.91 kB / 0.7947 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.007389, allocations: 171 kB / 0.7948 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.975e-05/0.007419, allocations: 59.88 kB / 0.7949 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.908e-05/0.007438, allocations: 5.672 kB / 0.7949 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.007539, allocations: 106.2 kB / 0.795 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of SimCode: time 6.02e-07/0.007539, allocations: 1.094 kB / 0.795 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of Templates: time 0.003334/0.01087, allocations: 2.314 MB / 0.7973 GB, free: 1.844 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 4.92606503283605]