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.001559/0.001559, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001799/0.001799, allocations: 169 kB / 24.28 MB, free: 276 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 1.081/1.081, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.853/1.853, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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 3.647e-06/3.647e-06, allocations: 0.9844 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.664e-05, allocations: 7.219 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001532/0.001568, allocations: 0.6859 MB / 0.7878 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.002879, allocations: 1.25 MB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.002928, allocations: 0.9062 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.002958, allocations: 3.938 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.881e-05/0.003036, allocations: 17.27 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.003617, allocations: 212.5 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.003839, allocations: 175.7 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003941, allocations: 21.48 kB / 0.7894 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.004071, allocations: 99.91 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.004182, allocations: 55.78 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.004212, allocations: 16 kB / 0.7896 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.626e-05/0.004278, allocations: 33.48 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.004302, allocations: 8 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.004379, allocations: 55.88 kB / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.004569, allocations: 139.7 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.004572, allocations: 0.9062 kB / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004573, allocations: 0 / 0.7898 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.004578, allocations: 0 / 0.7898 GB, free: 10.05 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.0004993/0.005077, allocations: 464.5 kB / 0.7902 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.005119, allocations: 13.28 kB / 0.7903 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.005184, allocations: 12.92 kB / 0.7903 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.005288, allocations: 120.5 kB / 0.7904 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.005317, allocations: 12.38 kB / 0.7904 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.005339, allocations: 10.41 kB / 0.7904 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.00545, allocations: 62.94 kB / 0.7905 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.00546, allocations: 3.938 kB / 0.7905 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.00547, allocations: 0 / 0.7905 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.00548, allocations: 4 kB / 0.7905 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.337e-05/0.005504, allocations: 10.17 kB / 0.7905 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.005929, allocations: 327.7 kB / 0.7908 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.663e-05/0.006016, allocations: 38.98 kB / 0.7908 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.006038, allocations: 15.69 kB / 0.7908 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-06/0.006043, allocations: 0 / 0.7908 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.006162, allocations: 105.5 kB / 0.7909 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.006163, allocations: 0.7188 kB / 0.7909 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002292/0.006393, allocations: 113.6 kB / 0.7911 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.00643, allocations: 55.92 kB / 0.7911 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.006525, allocations: 179.6 kB / 0.7913 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.006551, allocations: 33.7 kB / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.006614, allocations: 143 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.006631, allocations: 15.91 kB / 0.7915 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.006697, allocations: 56 kB / 0.7915 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.006818, allocations: 0.4884 MB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.006931, allocations: 116.5 kB / 0.7921 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.007066, allocations: 177.2 kB / 0.7923 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.007221, allocations: 195.5 kB / 0.7925 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.007224, allocations: 3.938 kB / 0.7925 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003324/0.007557, allocations: 338 kB / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.0076, allocations: 67.39 kB / 0.7928 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.007606, allocations: 0 / 0.7928 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.007623, allocations: 8 kB / 0.7929 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.823e-05/0.007671, allocations: 13.09 kB / 0.7929 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.007678, allocations: 4 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.007833, allocations: 47.03 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.007855, allocations: 15.98 kB / 0.7929 GB, free: 6.496 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 9.434e-05/0.007949, allocations: 174.3 kB / 0.7931 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.007965, allocations: 12 kB / 0.7931 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.007987, allocations: 8.438 kB / 0.7931 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007989, allocations: 0 / 0.7931 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.007992, allocations: 0.5 kB / 0.7931 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.007998, allocations: 5.922 kB / 0.7931 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.008239, allocations: 341.3 kB / 0.7934 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.008241, allocations: 4 kB / 0.7935 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-06/0.008248, allocations: 3.984 kB / 0.7935 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.00825, allocations: 0 / 0.7935 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.008259, allocations: 6.469 kB / 0.7935 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.008261, allocations: 4 kB / 0.7935 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008262, allocations: 0 / 0.7935 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.008403, allocations: 243.8 kB / 0.7937 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.008411, allocations: 7.953 kB / 0.7937 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.008425, allocations: 0 / 0.7937 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.008459, allocations: 4 kB / 0.7937 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.008493, allocations: 8.859 kB / 0.7937 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.008506, allocations: 4.094 kB / 0.7937 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.008552, allocations: 135.2 kB / 0.7939 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008552, allocations: 0.8438 kB / 0.7939 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001911/0.008743, allocations: 31.94 kB / 0.7939 GB, free: 5.461 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 0.0001296/0.008873, allocations: 116.4 kB / 0.794 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.009153, allocations: 286.6 kB / 0.7943 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.009155, allocations: 0.875 kB / 0.7943 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/0.009196, allocations: 39.61 kB / 0.7943 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.009413, allocations: 27.09 kB / 0.7943 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.009714, allocations: 172.8 kB / 0.7945 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.882e-05/0.009753, allocations: 59.36 kB / 0.7946 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.484e-05/0.009777, allocations: 8.719 kB / 0.7946 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.009798, allocations: 12.5 kB / 0.7946 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.009799, allocations: 0 / 0.7946 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of Templates: time 0.003769/0.01357, allocations: 2.129 MB / 0.7967 GB, free: 2.602 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: 5.34482577489689]