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.LessThreshold.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.169/4.169, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.329e-05/4.346e-05, allocations: 5.609 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2493, allocations: 98.73 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2377/0.487, allocations: 124.5 MB / 0.7563 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.4874, allocations: 71.95 kB / 0.7564 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004367/0.4918, allocations: 0.954 MB / 0.7573 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4918, allocations: 0 / 0.7573 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.4918, allocations: 4 kB / 0.7573 GB, free: 4.207 MB / 0.6355 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.0005888/0.4925, allocations: 360.4 kB / 0.7577 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4925, allocations: 12.03 kB / 0.7577 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.226e-05/0.4926, allocations: 34.56 kB / 0.7577 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.4926, allocations: 7.906 kB / 0.7577 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.4928, allocations: 167 kB / 0.7579 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.4928, allocations: 4 kB / 0.7579 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.4928, allocations: 4 kB / 0.7579 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.493, allocations: 61.62 kB / 0.7579 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.493, allocations: 0 / 0.7579 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4931, allocations: 0 / 0.7579 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.4931, allocations: 0 / 0.7579 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.4932, allocations: 31.92 kB / 0.758 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.4937, allocations: 280.8 kB / 0.7582 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.4939, allocations: 54.56 kB / 0.7583 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.494, allocations: 16.89 kB / 0.7583 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.494, allocations: 0 / 0.7583 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.4941, allocations: 34.5 kB / 0.7583 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/0.4941, allocations: 0 / 0.7583 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002457/0.4943, allocations: 65.69 kB / 0.7584 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.4944, allocations: 51.41 kB / 0.7584 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.4945, allocations: 113 kB / 0.7586 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.4946, allocations: 25.7 kB / 0.7586 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.4946, allocations: 92.08 kB / 0.7587 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.4947, allocations: 15.75 kB / 0.7587 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.4947, allocations: 0 / 0.7587 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4948, allocations: 314.8 kB / 0.759 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-05/0.4949, allocations: 12 kB / 0.759 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-05/0.495, allocations: 12 kB / 0.759 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.138e-05/0.495, allocations: 11.94 kB / 0.759 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.495, allocations: 7.984 kB / 0.759 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001663/0.4952, allocations: 61.81 kB / 0.7591 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4953, allocations: 6.656 kB / 0.7591 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4953, allocations: 0 / 0.7591 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4953, allocations: 4 kB / 0.7591 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.4955, allocations: 11.98 kB / 0.7591 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4955, allocations: 3.953 kB / 0.7591 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.4957, allocations: 11.98 kB / 0.7591 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.4957, allocations: 12 kB / 0.7591 GB, free: 2.129 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.003e-05/0.4958, allocations: 105 kB / 0.7592 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.4958, allocations: 3.906 kB / 0.7592 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.4959, allocations: 12.03 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4959, allocations: 0 / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.4959, allocations: 0 / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.4959, allocations: 7.938 kB / 0.7593 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.4962, allocations: 169.7 kB / 0.7594 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4962, allocations: 3.938 kB / 0.7594 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.4964, allocations: 15.98 kB / 0.7594 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4964, allocations: 0 / 0.7594 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.4964, allocations: 4 kB / 0.7594 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.4964, allocations: 7.922 kB / 0.7594 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4964, allocations: 0 / 0.7594 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.4967, allocations: 155.5 kB / 0.7596 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.4967, allocations: 81.02 kB / 0.7597 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.4968, allocations: 4 kB / 0.7597 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.497, allocations: 11.98 kB / 0.7597 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.497, allocations: 15.92 kB / 0.7597 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.4971, allocations: 4 kB / 0.7597 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.715e-05/0.4971, allocations: 87.27 kB / 0.7598 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4972, allocations: 0 / 0.7598 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002886/0.4974, allocations: 12 kB / 0.7598 GB, free: 1.352 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0006329/0.4981, allocations: 0.7025 MB / 0.7605 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.4983, allocations: 28 kB / 0.7605 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4983, allocations: 3.938 kB / 0.7605 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.816e-05/0.4984, allocations: 23.98 kB / 0.7605 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.4986, allocations: 4 kB / 0.7605 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.4991, allocations: 114.5 kB / 0.7607 GB, free: 424 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4995, allocations: 0.6848 MB / 0.7613 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.956e-05/0.4996, allocations: 4.25 kB / 0.7613 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.4996, allocations: 15.44 kB / 0.7613 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of SimCode: time 7.81e-07/0.4996, allocations: 0 / 0.7613 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.5198, allocations: 1.52 MB / 0.7628 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003249/0.5202, allocations: 169.1 kB / 0.763 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/2.817, allocations: 0 / 0.763 GB, free: 14.01 MB / 0.6511 GB