Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01229/0.01229, allocations: 106.4 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001195/0.001195, allocations: 183.8 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.202/2.202, allocations: 194.5 MB / 211.2 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.354/2.354, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006753/0.0006756, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.677, allocations: 98.73 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00177/0.6788, allocations: 1.081 MB / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005695/0.6794, allocations: 209.5 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.6795, allocations: 1.156 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.6795, allocations: 0.9844 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 9.838e-05/0.6796, allocations: 15.19 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.6798, allocations: 21 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.903e-05/0.6799, allocations: 37.06 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.755e-05/0.68, allocations: 11.5 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/0.6801, allocations: 18.77 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.277e-05/0.6802, allocations: 27.83 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.6802, allocations: 3.906 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.6802, allocations: 1.094 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.6803, allocations: 9.594 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.6803, allocations: 31.78 kB / 0.6849 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.204e-05/0.6804, allocations: 33.84 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.6804, allocations: 0 / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6804, allocations: 0 / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.6805, allocations: 4 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006184/0.6811, allocations: 378.1 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.6811, allocations: 9.625 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.6812, allocations: 37 kB / 0.6853 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.6812, allocations: 10.64 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.6814, allocations: 174.1 kB / 0.6855 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.6814, allocations: 9.453 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.6814, allocations: 3.938 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.6816, allocations: 56.23 kB / 0.6856 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.6816, allocations: 0 / 0.6856 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.6816, allocations: 0 / 0.6856 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.6816, allocations: 1.5 kB / 0.6856 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.893e-05/0.6817, allocations: 26.61 kB / 0.6856 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.6822, allocations: 288.2 kB / 0.6859 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.6824, allocations: 44.03 kB / 0.6859 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.6824, allocations: 0 / 0.6859 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.6826, allocations: 80.53 kB / 0.686 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.6827, allocations: 1.344 kB / 0.686 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0003543/0.683, allocations: 116.7 kB / 0.6861 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.6831, allocations: 54.59 kB / 0.6861 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.6832, allocations: 124 kB / 0.6863 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.6832, allocations: 27.36 kB / 0.6863 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.6833, allocations: 87.16 kB / 0.6864 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.6833, allocations: 21.08 kB / 0.6864 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.6833, allocations: 0 / 0.6864 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.6834, allocations: 323.1 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.702e-05/0.6835, allocations: 18.98 kB / 0.6867 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-05/0.6836, allocations: 52.84 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.492e-05/0.6836, allocations: 20.61 kB / 0.6868 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6837, allocations: 1.156 kB / 0.6868 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002119/0.6839, allocations: 102.2 kB / 0.6869 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.6839, allocations: 6.141 kB / 0.6869 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6839, allocations: 1.031 kB / 0.6869 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.6839, allocations: 6.266 kB / 0.6869 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.869e-05/0.684, allocations: 7.938 kB / 0.6869 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6841, allocations: 1.938 kB / 0.6869 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.6842, allocations: 30.88 kB / 0.6869 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.6843, allocations: 3.75 kB / 0.6869 GB, free: 13.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,reset.y,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 9.246e-05/0.6844, allocations: 123.4 kB / 0.6871 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.6844, allocations: 4.656 kB / 0.6871 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.6844, allocations: 10.5 kB / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.6845, allocations: 5.625 kB / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6845, allocations: 0 / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6845, allocations: 1.734 kB / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006745/0.6852, allocations: 388.2 kB / 0.6874 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6852, allocations: 0.75 kB / 0.6875 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.524e-05/0.6852, allocations: 1.828 kB / 0.6875 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.6852, allocations: 5.047 kB / 0.6875 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.6853, allocations: 5.516 kB / 0.6875 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6853, allocations: 4.594 kB / 0.6875 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6853, allocations: 0.9688 kB / 0.6875 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.6855, allocations: 189.2 kB / 0.6876 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.6856, allocations: 81.09 kB / 0.6877 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.6856, allocations: 4.844 kB / 0.6877 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.6858, allocations: 14.19 kB / 0.6877 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.6859, allocations: 17.52 kB / 0.6878 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.6859, allocations: 3.062 kB / 0.6878 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.831e-05/0.686, allocations: 98.66 kB / 0.6879 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.686, allocations: 0 / 0.6879 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003432/0.6863, allocations: 16 kB / 0.6879 GB, free: 12.96 MB / 0.5261 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 (booPul.y,reset.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * 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.0004576/0.6868, allocations: 0.7185 MB / 0.6886 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.6871, allocations: 60.48 kB / 0.6886 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6871, allocations: 0 / 0.6886 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.6872, allocations: 32.03 kB / 0.6887 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.6875, allocations: 24.23 kB / 0.6887 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.6889, allocations: 1.141 MB / 0.6898 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.6891, allocations: 0.6896 MB / 0.6905 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.719e-05/0.6891, allocations: 4.922 kB / 0.6905 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.6892, allocations: 22.58 kB / 0.6905 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of SimCode: time 2.214e-06/0.6892, allocations: 5.469 kB / 0.6905 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.7141, allocations: 1.773 MB / 0.6922 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.7145, allocations: 199.8 kB / 0.6924 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/3.077, allocations: 0 / 0.6924 GB, free: 10.01 MB / 0.5261 GB