Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001034/0.001034, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00108/0.00108, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.396/2.396, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.636e-05, allocations: 12.5 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001441/0.001458, allocations: 0.6808 MB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.002635, allocations: 1.255 MB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.00268, allocations: 0 / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.00271, allocations: 3.938 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.761e-05/0.002787, allocations: 19.86 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.003487, allocations: 211.4 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.003743, allocations: 183.6 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.672e-05/0.00382, allocations: 7.984 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.00397, allocations: 95.92 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.004096, allocations: 55.84 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.004135, allocations: 16 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.685e-05/0.004212, allocations: 31.92 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.804e-05/0.00424, allocations: 11.94 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.004308, allocations: 51.94 kB / 0.8412 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.00451, allocations: 139.6 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.004512, allocations: 0 / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.254e-06/0.004515, allocations: 3.984 kB / 0.8413 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.004518, allocations: 0 / 0.8413 GB, free: 11.44 MB / 0.8073 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.000435/0.004953, allocations: 336.2 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.004992, allocations: 12.02 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.005043, allocations: 12.92 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.005152, allocations: 121.6 kB / 0.8418 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.005175, allocations: 4.375 kB / 0.8418 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.005209, allocations: 12.38 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.833e-05/0.005307, allocations: 58.88 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.005317, allocations: 3.938 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.005326, allocations: 0 / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.005332, allocations: 0 / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.005353, allocations: 11.98 kB / 0.8418 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.005725, allocations: 184.3 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.461e-05/0.005809, allocations: 30.58 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.102e-05/0.00583, allocations: 16.92 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.005838, allocations: 4 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.005962, allocations: 83.23 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.005963, allocations: 0 / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.000168/0.006131, allocations: 85.59 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.00617, allocations: 55.41 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.006249, allocations: 122.7 kB / 0.8424 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.00628, allocations: 41.64 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.00633, allocations: 96.25 kB / 0.8425 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.00635, allocations: 19.88 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.743e-05/0.006437, allocations: 49.67 kB / 0.8426 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.00653, allocations: 318.8 kB / 0.8429 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.006637, allocations: 95.38 kB / 0.843 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.00676, allocations: 145.3 kB / 0.8431 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.006913, allocations: 165.3 kB / 0.8433 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.006917, allocations: 0 / 0.8433 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002928/0.007209, allocations: 276.2 kB / 0.8435 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.007256, allocations: 67.39 kB / 0.8436 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.007263, allocations: 4 kB / 0.8436 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.007277, allocations: 0 / 0.8436 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-05/0.007321, allocations: 8 kB / 0.8436 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.007325, allocations: 3.938 kB / 0.8436 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.007518, allocations: 48.06 kB / 0.8437 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.007548, allocations: 19.97 kB / 0.8437 GB, free: 8.688 MB / 0.8073 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.802e-05/0.007636, allocations: 117.8 kB / 0.8438 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.007655, allocations: 7.938 kB / 0.8438 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.007681, allocations: 12.42 kB / 0.8438 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.007683, allocations: 4 kB / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.007687, allocations: 4 kB / 0.8438 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.00769, allocations: 4 kB / 0.8438 GB, free: 8.535 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.007893, allocations: 223.1 kB / 0.844 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.007898, allocations: 3.938 kB / 0.8441 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/0.007909, allocations: 0 / 0.8441 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007912, allocations: 3.938 kB / 0.8441 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.007919, allocations: 4 kB / 0.8441 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.007922, allocations: 4 kB / 0.8441 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.007922, allocations: 0 / 0.8441 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.00803, allocations: 159.5 kB / 0.8442 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.008041, allocations: 11.89 kB / 0.8442 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.008056, allocations: 3.938 kB / 0.8442 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.281e-05/0.008108, allocations: 11.94 kB / 0.8442 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.008137, allocations: 7.984 kB / 0.8442 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.008147, allocations: 0 / 0.8442 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.202e-05/0.008169, allocations: 16.84 kB / 0.8443 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.00817, allocations: 0 / 0.8443 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002615/0.008431, allocations: 35.94 kB / 0.8443 GB, free: 8.016 MB / 0.8073 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.0001207/0.008552, allocations: 87.5 kB / 0.8444 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.008806, allocations: 275.1 kB / 0.8446 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.008809, allocations: 0 / 0.8446 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.008851, allocations: 24.84 kB / 0.8447 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.009063, allocations: 19.92 kB / 0.8447 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.009341, allocations: 152.9 kB / 0.8448 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.027e-05/0.009382, allocations: 63.33 kB / 0.8449 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.009409, allocations: 4.734 kB / 0.8449 GB, free: 7.301 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.009539, allocations: 83.41 kB / 0.845 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.00954, allocations: 4 kB / 0.845 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of Templates: time 0.003349/0.01289, allocations: 2.31 MB / 0.8472 GB, free: 4.949 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.431072890758514]