Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.764/1.764, allocations: 291.7 MB / 306.8 MB, free: 7.648 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 193.5 kB / 375.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008649/0.0008649, allocations: 102.8 kB / 0.7699 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004103, allocations: 9 kB / 0.8956 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/0.7771, allocations: 118.1 MB / 1.011 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0009102/0.778, allocations: 401.5 kB / 1.011 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.7797, allocations: 1.174 MB / 1.012 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.7797, allocations: 0 / 1.012 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.7797, allocations: 3.375 kB / 1.012 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.141e-05/0.7798, allocations: 11.14 kB / 1.012 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006675/0.7805, allocations: 196.2 kB / 1.013 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.7807, allocations: 140.8 kB / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.7808, allocations: 8.141 kB / 1.013 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.7809, allocations: 65.44 kB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.781, allocations: 47.73 kB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.7811, allocations: 9.875 kB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.7812, allocations: 22.81 kB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.7812, allocations: 13.52 kB / 1.013 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.243e-05/0.7813, allocations: 38.17 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.7814, allocations: 105 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7814, allocations: 3.938 kB / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7814, allocations: 0 / 1.013 GB, free: 57.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.7815, allocations: 4.531 kB / 1.013 GB, free: 57.75 MB / 0.7136 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.0004552/0.7819, allocations: 410.3 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.782, allocations: 8.781 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.782, allocations: 10.72 kB / 1.013 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.7822, allocations: 179.4 kB / 1.014 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.7822, allocations: 6.25 kB / 1.014 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.7822, allocations: 9.578 kB / 1.014 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.7824, allocations: 57.39 kB / 1.014 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.7824, allocations: 192 / 1.014 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.7824, allocations: 8.781 kB / 1.014 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.7824, allocations: 0 / 1.014 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.89e-05/0.7825, allocations: 18.38 kB / 1.014 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.783, allocations: 356.2 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.47e-05/0.7831, allocations: 37.5 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.7832, allocations: 17.84 kB / 1.014 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.7832, allocations: 0.8438 kB / 1.014 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.7834, allocations: 98.05 kB / 1.014 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.7834, allocations: 0 / 1.014 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003045/0.7837, allocations: 122.4 kB / 1.014 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.7837, allocations: 61.36 kB / 1.014 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.7838, allocations: 117.9 kB / 1.015 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.7839, allocations: 29.67 kB / 1.015 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.7839, allocations: 95.38 kB / 1.015 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.784, allocations: 20.53 kB / 1.015 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.784, allocations: 9.938 kB / 1.015 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.7841, allocations: 320.8 kB / 1.015 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.7842, allocations: 61.77 kB / 1.015 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.7844, allocations: 103.3 kB / 1.015 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.7846, allocations: 189.4 kB / 1.015 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7846, allocations: 1.406 kB / 1.015 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004173/0.785, allocations: 280.7 kB / 1.016 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.7851, allocations: 69.41 kB / 1.016 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.7851, allocations: 2.875 kB / 1.016 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.7851, allocations: 3 kB / 1.016 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.7852, allocations: 7.969 kB / 1.016 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.7852, allocations: 3.062 kB / 1.016 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.7856, allocations: 78.31 kB / 1.016 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.7856, allocations: 13.39 kB / 1.016 GB, free: 55.72 MB / 0.7136 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 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.7857, allocations: 136.9 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.7858, allocations: 10.88 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.7858, allocations: 8.688 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7858, allocations: 6.156 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.7858, allocations: 5.188 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.7858, allocations: 0 / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.7861, allocations: 356.6 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7861, allocations: 0 / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.7862, allocations: 7.062 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7862, allocations: 0 / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.7862, allocations: 4.906 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7862, allocations: 2.906 kB / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7862, allocations: 0 / 1.016 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.7864, allocations: 202.7 kB / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.7864, allocations: 84.39 kB / 1.017 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.7864, allocations: 3.812 kB / 1.017 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.41e-05/0.7865, allocations: 4.469 kB / 1.017 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.7865, allocations: 6.922 kB / 1.017 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.7866, allocations: 7.094 kB / 1.017 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.997e-05/0.7866, allocations: 99.03 kB / 1.017 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7866, allocations: 0 / 1.017 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002782/0.7869, allocations: 36.28 kB / 1.017 GB, free: 54.97 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001651/0.7871, allocations: 115.1 kB / 1.017 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.7874, allocations: 258.1 kB / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7874, allocations: 1.688 kB / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.7875, allocations: 36.78 kB / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.7878, allocations: 16.03 kB / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.7881, allocations: 188.6 kB / 1.017 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.7883, allocations: 0.6886 MB / 1.018 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.7883, allocations: 6.016 kB / 1.018 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.7883, allocations: 14.22 kB / 1.018 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7883, allocations: 0 / 1.018 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.004153/0.7925, allocations: 1.774 MB / 1.02 GB, free: 53.81 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)