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.001842/0.001842, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001689/0.001689, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.839/2.839, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.096e-06/3.096e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.095e-05/4.404e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002931/0.002975, allocations: 0.6842 MB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.005671, allocations: 1.223 MB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.005739, allocations: 0 / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.005777, allocations: 4.688 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.005897, allocations: 19.86 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.006939, allocations: 210 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005988/0.007538, allocations: 175.7 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.007653, allocations: 11.97 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.007946, allocations: 97.5 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.008159, allocations: 55.89 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.008215, allocations: 16 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.008348, allocations: 27.94 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.008386, allocations: 13.19 kB / 0.7889 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.00852, allocations: 51.95 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.008953, allocations: 187.5 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.008961, allocations: 3.984 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.863e-06/0.008963, allocations: 0.625 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.00897, allocations: 1.406 kB / 0.7891 GB, free: 10.04 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.0009128/0.009883, allocations: 361.5 kB / 0.7894 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.009942, allocations: 12.02 kB / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.01005, allocations: 12.89 kB / 0.7895 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.01023, allocations: 118.5 kB / 0.7896 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.01027, allocations: 8.375 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.01031, allocations: 8.938 kB / 0.7896 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.01049, allocations: 58.17 kB / 0.7896 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.0105, allocations: 4.625 kB / 0.7896 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.01052, allocations: 0.9062 kB / 0.7896 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.01052, allocations: 0 / 0.7896 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.798e-05/0.01058, allocations: 15.98 kB / 0.7897 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007451/0.01132, allocations: 273.1 kB / 0.7899 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.01146, allocations: 40.16 kB / 0.79 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.0115, allocations: 12.86 kB / 0.79 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.01151, allocations: 96 / 0.79 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/0.01184, allocations: 103.2 kB / 0.7901 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.01184, allocations: 1.594 kB / 0.7901 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0004938/0.01233, allocations: 129.6 kB / 0.7902 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.01241, allocations: 59.39 kB / 0.7903 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.01257, allocations: 113.8 kB / 0.7904 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.01263, allocations: 34.52 kB / 0.7904 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.01278, allocations: 100.3 kB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.01281, allocations: 19.3 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.01297, allocations: 53.69 kB / 0.7906 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002546/0.01323, allocations: 318.8 kB / 0.7909 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.01351, allocations: 123.4 kB / 0.791 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.01397, allocations: 169.4 kB / 0.7911 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.01436, allocations: 186 kB / 0.7913 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.01437, allocations: 3.938 kB / 0.7913 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008554/0.01523, allocations: 357.7 kB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.773e-05/0.01532, allocations: 68.14 kB / 0.7917 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.01533, allocations: 4 kB / 0.7917 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.01536, allocations: 0.5312 kB / 0.7917 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.01543, allocations: 11.94 kB / 0.7917 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.01544, allocations: 1.375 kB / 0.7917 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.0159, allocations: 60.92 kB / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/0.01597, allocations: 19.98 kB / 0.7918 GB, free: 6.945 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.0001735/0.01614, allocations: 126.6 kB / 0.7919 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.01618, allocations: 12.52 kB / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.472e-05/0.01622, allocations: 9.875 kB / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01622, allocations: 96 / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.01623, allocations: 0 / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.01624, allocations: 7.984 kB / 0.792 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.01674, allocations: 306.6 kB / 0.7923 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01674, allocations: 1.344 kB / 0.7923 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.01675, allocations: 4 kB / 0.7923 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.01676, allocations: 0 / 0.7923 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01677, allocations: 0 / 0.7923 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01677, allocations: 3.438 kB / 0.7923 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.755e-06/0.01678, allocations: 7.984 kB / 0.7923 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.01711, allocations: 199.9 kB / 0.7925 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.01713, allocations: 3.953 kB / 0.7925 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.01716, allocations: 4 kB / 0.7925 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.01726, allocations: 3.984 kB / 0.7925 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.01731, allocations: 8 kB / 0.7925 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.01733, allocations: 7.984 kB / 0.7925 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.118e-05/0.01743, allocations: 87.83 kB / 0.7926 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01743, allocations: 0.8438 kB / 0.7926 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005006/0.01793, allocations: 35.98 kB / 0.7926 GB, free: 6.082 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.0002662/0.01819, allocations: 108.2 kB / 0.7927 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006298/0.01882, allocations: 288.1 kB / 0.793 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.01883, allocations: 4 kB / 0.793 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.883e-05/0.01892, allocations: 31.86 kB / 0.793 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.01941, allocations: 31.88 kB / 0.7931 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.02001, allocations: 168.8 kB / 0.7932 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.02013, allocations: 72.44 kB / 0.7933 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.494e-05/0.02017, allocations: 12.66 kB / 0.7933 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.02022, allocations: 17.03 kB / 0.7933 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.02022, allocations: 0.8125 kB / 0.7933 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of Templates: time 0.008357/0.02857, allocations: 2.128 MB / 0.7954 GB, free: 3.234 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.109309801016934]