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.0009664/0.0009664, 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.001118/0.001118, 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.9582/0.9582, allocations: 177.2 MB / 204.2 MB, free: 5.637 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.867/1.867, allocations: 359 MB / 0.6052 GB, free: 10.98 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 4.368e-06/4.368e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.658e-05/4.095e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001679/0.00172, allocations: 0.6879 MB / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.00322, allocations: 1.249 MB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/0.00328, allocations: 0 / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.162e-05/0.003321, allocations: 8.766 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.003455, allocations: 15.92 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009481/0.004403, allocations: 208.9 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000314/0.004717, allocations: 180.8 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.004879, allocations: 15.97 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.005068, allocations: 92.69 kB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.005235, allocations: 55.84 kB / 0.7896 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.005276, allocations: 19.16 kB / 0.7896 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.005383, allocations: 31.91 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.005422, allocations: 15.92 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.166e-05/0.005514, allocations: 55.89 kB / 0.7897 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.005836, allocations: 131.8 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.005843, allocations: 0 / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.996e-06/0.005846, allocations: 0 / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.005856, allocations: 0 / 0.7898 GB, free: 9.691 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.0007408/0.006597, allocations: 475.7 kB / 0.7903 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.006651, allocations: 9.094 kB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.483e-05/0.006726, allocations: 8.938 kB / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.006834, allocations: 120.5 kB / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.006862, allocations: 8.969 kB / 0.7904 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.006889, allocations: 17.61 kB / 0.7904 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.007013, allocations: 54.94 kB / 0.7905 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.007021, allocations: 3.938 kB / 0.7905 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.007034, allocations: 1.625 kB / 0.7905 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.007043, allocations: 4 kB / 0.7905 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.007066, allocations: 8 kB / 0.7905 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.007583, allocations: 327.7 kB / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.007683, allocations: 40.53 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.007705, allocations: 15.77 kB / 0.7909 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.102e-06/0.007711, allocations: 0 / 0.7909 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.00785, allocations: 110.3 kB / 0.791 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.007852, allocations: 0 / 0.791 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002647/0.008116, allocations: 117.5 kB / 0.7911 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.00816, allocations: 51.41 kB / 0.7911 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.008277, allocations: 184.1 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.008306, allocations: 29.7 kB / 0.7913 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.008384, allocations: 139.1 kB / 0.7915 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.008404, allocations: 19.89 kB / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.49e-05/0.008488, allocations: 63.33 kB / 0.7915 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.008638, allocations: 496.1 kB / 0.792 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.008775, allocations: 115.9 kB / 0.7921 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.008922, allocations: 189.3 kB / 0.7923 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.0091, allocations: 187.2 kB / 0.7925 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.009106, allocations: 3.938 kB / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003925/0.009499, allocations: 337.7 kB / 0.7928 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.009559, allocations: 67.39 kB / 0.7929 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.009567, allocations: 0.5 kB / 0.7929 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.00959, allocations: 4.656 kB / 0.7929 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/0.009659, allocations: 7.984 kB / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.00967, allocations: 4.625 kB / 0.7929 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.009846, allocations: 41.23 kB / 0.7929 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.009874, allocations: 19.98 kB / 0.7929 GB, free: 6.141 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 0.0001253/0.009999, allocations: 173.6 kB / 0.7931 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.01002, allocations: 11.98 kB / 0.7931 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.01005, allocations: 9.25 kB / 0.7931 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01005, allocations: 0 / 0.7931 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01005, allocations: 0.5312 kB / 0.7931 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01006, allocations: 0 / 0.7931 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.01033, allocations: 354.1 kB / 0.7935 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.01033, allocations: 4 kB / 0.7935 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-06/0.01034, allocations: 6.125 kB / 0.7935 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.01035, allocations: 3.984 kB / 0.7935 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.01036, allocations: 0 / 0.7935 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.01036, allocations: 7.984 kB / 0.7935 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01036, allocations: 0 / 0.7935 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.01053, allocations: 240.4 kB / 0.7937 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.01054, allocations: 7.953 kB / 0.7937 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.01056, allocations: 6.5 kB / 0.7937 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.788e-05/0.0106, allocations: 7.984 kB / 0.7937 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.01064, allocations: 3.938 kB / 0.7937 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.01065, allocations: 7.984 kB / 0.7937 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.0107, allocations: 131.7 kB / 0.7939 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0107, allocations: 0 / 0.7939 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002021/0.0109, allocations: 39.92 kB / 0.7939 GB, free: 5.086 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.0001505/0.01105, allocations: 106.7 kB / 0.794 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.01135, allocations: 290.3 kB / 0.7943 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.01135, allocations: 0.5625 kB / 0.7943 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.01139, allocations: 33.23 kB / 0.7943 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.01163, allocations: 28.98 kB / 0.7944 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.01197, allocations: 163.6 kB / 0.7945 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.01202, allocations: 67.28 kB / 0.7946 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.952e-05/0.01205, allocations: 5.391 kB / 0.7946 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.01207, allocations: 12.5 kB / 0.7946 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.01207, allocations: 0.875 kB / 0.7946 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of Templates: time 0.004664/0.01673, allocations: 2.315 MB / 0.7968 GB, free: 2.051 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.074995998758823]