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.001475/0.001475, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001082/0.001082, allocations: 161 kB / 23.82 MB, free: 0.7461 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.961/0.961, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.773/1.773, allocations: 359 MB / 0.6052 GB, free: 11 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.954e-06/1.954e-06, allocations: 0.6562 kB / 0.7871 GB, free: 11.35 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.89e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.35 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001218/0.001237, allocations: 0.6841 MB / 0.7878 GB, free: 10.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.002448, allocations: 1.249 MB / 0.789 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.002486, allocations: 0 / 0.789 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.002516, allocations: 4.531 kB / 0.789 GB, free: 9.418 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.799e-05/0.002584, allocations: 22.09 kB / 0.789 GB, free: 9.398 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.003087, allocations: 211.4 kB / 0.7892 GB, free: 9.191 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.003262, allocations: 177.2 kB / 0.7894 GB, free: 9.02 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.003346, allocations: 15.92 kB / 0.7894 GB, free: 9.004 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.003447, allocations: 91.92 kB / 0.7895 GB, free: 8.914 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.003547, allocations: 59.84 kB / 0.7895 GB, free: 8.855 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.003574, allocations: 16.56 kB / 0.7896 GB, free: 8.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.504e-05/0.003639, allocations: 23.98 kB / 0.7896 GB, free: 8.816 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.003663, allocations: 13.05 kB / 0.7896 GB, free: 8.805 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.003728, allocations: 59.88 kB / 0.7897 GB, free: 8.746 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.003897, allocations: 127.7 kB / 0.7898 GB, free: 8.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003899, allocations: 1.562 kB / 0.7898 GB, free: 8.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.42e-07/0.003899, allocations: 4 kB / 0.7898 GB, free: 8.617 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.003903, allocations: 0 / 0.7898 GB, free: 8.617 MB / 0.698 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.0003969/0.0043, allocations: 463.4 kB / 0.7902 GB, free: 8.117 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.004351, allocations: 18.44 kB / 0.7902 GB, free: 8.102 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.004427, allocations: 20.88 kB / 0.7903 GB, free: 8.082 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.004536, allocations: 116.6 kB / 0.7904 GB, free: 7.941 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.004563, allocations: 4.375 kB / 0.7904 GB, free: 7.938 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.004594, allocations: 12.38 kB / 0.7904 GB, free: 7.926 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.004721, allocations: 66.88 kB / 0.7904 GB, free: 7.852 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.004732, allocations: 5.688 kB / 0.7905 GB, free: 7.848 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.004746, allocations: 0 / 0.7905 GB, free: 7.848 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.004754, allocations: 0 / 0.7905 GB, free: 7.848 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.885e-05/0.004783, allocations: 15.97 kB / 0.7905 GB, free: 7.832 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.005282, allocations: 323.7 kB / 0.7908 GB, free: 7.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.005393, allocations: 51.52 kB / 0.7908 GB, free: 7.418 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.005415, allocations: 17.02 kB / 0.7908 GB, free: 7.398 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.005422, allocations: 0 / 0.7908 GB, free: 7.398 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.005559, allocations: 92.91 kB / 0.7909 GB, free: 7.293 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.00556, allocations: 1.75 kB / 0.7909 GB, free: 7.293 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002739/0.005834, allocations: 117.6 kB / 0.791 GB, free: 7.172 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.00588, allocations: 63.33 kB / 0.7911 GB, free: 7.098 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.00599, allocations: 177.9 kB / 0.7913 GB, free: 6.906 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.006017, allocations: 30.98 kB / 0.7913 GB, free: 6.871 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.006101, allocations: 143.1 kB / 0.7914 GB, free: 6.723 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.006123, allocations: 19.84 kB / 0.7915 GB, free: 6.703 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.006199, allocations: 64.28 kB / 0.7915 GB, free: 6.633 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.006342, allocations: 496.1 kB / 0.792 GB, free: 6.137 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.006469, allocations: 115.4 kB / 0.7921 GB, free: 6.012 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.006625, allocations: 178 kB / 0.7923 GB, free: 5.797 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.006792, allocations: 195.6 kB / 0.7925 GB, free: 5.566 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.006796, allocations: 3.938 kB / 0.7925 GB, free: 5.562 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003318/0.007128, allocations: 332.8 kB / 0.7928 GB, free: 5.207 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.007169, allocations: 72.11 kB / 0.7929 GB, free: 5.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007174, allocations: 0 / 0.7929 GB, free: 5.125 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.007192, allocations: 4.531 kB / 0.7929 GB, free: 5.121 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.718e-05/0.007229, allocations: 13.59 kB / 0.7929 GB, free: 5.109 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.007236, allocations: 4 kB / 0.7929 GB, free: 5.105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.007379, allocations: 40.39 kB / 0.7929 GB, free: 5.066 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.007403, allocations: 19.98 kB / 0.7929 GB, free: 5.047 MB / 0.698 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.226e-05/0.007496, allocations: 169.9 kB / 0.7931 GB, free: 4.871 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.007508, allocations: 7.953 kB / 0.7931 GB, free: 4.863 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.007534, allocations: 13.59 kB / 0.7931 GB, free: 4.852 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007536, allocations: 0 / 0.7931 GB, free: 4.852 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.007541, allocations: 3.984 kB / 0.7931 GB, free: 4.848 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.007545, allocations: 1.375 kB / 0.7931 GB, free: 4.848 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.007761, allocations: 353.3 kB / 0.7935 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007763, allocations: 0 / 0.7935 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-06/0.00777, allocations: 4 kB / 0.7935 GB, free: 4.457 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.007771, allocations: 0.9062 kB / 0.7935 GB, free: 4.457 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.007779, allocations: 0 / 0.7935 GB, free: 4.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.007779, allocations: 0.7812 kB / 0.7935 GB, free: 4.457 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.00778, allocations: 0 / 0.7935 GB, free: 4.457 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.007909, allocations: 253 kB / 0.7937 GB, free: 4.191 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.007917, allocations: 7.953 kB / 0.7937 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.007931, allocations: 4 kB / 0.7937 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.946e-05/0.00796, allocations: 0 / 0.7937 GB, free: 4.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.00799, allocations: 8.828 kB / 0.7937 GB, free: 4.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.008, allocations: 4 kB / 0.7937 GB, free: 4.168 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.008042, allocations: 136.4 kB / 0.7939 GB, free: 4.035 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008042, allocations: 0 / 0.7939 GB, free: 4.035 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001829/0.008225, allocations: 32 kB / 0.7939 GB, free: 4.004 MB / 0.698 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.0001042/0.008329, allocations: 115.9 kB / 0.794 GB, free: 3.887 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.008588, allocations: 291.4 kB / 0.7943 GB, free: 3.562 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.008589, allocations: 0 / 0.7943 GB, free: 3.562 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.008625, allocations: 31.61 kB / 0.7943 GB, free: 3.527 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.008823, allocations: 27.8 kB / 0.7943 GB, free: 3.504 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.009079, allocations: 163.4 kB / 0.7945 GB, free: 3.312 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.624e-05/0.009115, allocations: 63.34 kB / 0.7945 GB, free: 3.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.959e-05/0.009134, allocations: 4.734 kB / 0.7946 GB, free: 3.227 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.009152, allocations: 13 kB / 0.7946 GB, free: 3.215 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/0.009153, allocations: 0.5312 kB / 0.7946 GB, free: 3.215 MB / 0.698 GB Notification: Performance of Templates: time 0.00392/0.01307, allocations: 2.133 MB / 0.7966 GB, free: 1.156 MB / 0.698 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: 5.170932826120406]