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.Less.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.086/4.086, allocations: 433.2 MB / 440.7 MB, free: 4.516 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.695e-05, allocations: 4.906 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2113, allocations: 98.74 MB / 0.6289 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2339/0.4453, allocations: 126.7 MB / 0.7526 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.4456, allocations: 79.95 kB / 0.7527 GB, free: 10.12 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.04159/0.4872, allocations: 9.431 MB / 0.7619 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4873, allocations: 8 kB / 0.7619 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.403e-05/0.4873, allocations: 4 kB / 0.7619 GB, free: 0.6562 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001129/0.4885, allocations: 0.6414 MB / 0.7625 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.4885, allocations: 8.031 kB / 0.7625 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.4887, allocations: 31.62 kB / 0.7626 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008891/0.4896, allocations: 363.7 kB / 0.7629 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.4896, allocations: 4 kB / 0.7629 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.4897, allocations: 12 kB / 0.7629 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002343/0.4899, allocations: 55.98 kB / 0.763 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.4902, allocations: 106.5 kB / 0.7631 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.4902, allocations: 4 kB / 0.7631 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.4903, allocations: 0 / 0.7631 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4903, allocations: 0 / 0.7631 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.4914, allocations: 0.5203 MB / 0.7636 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.4918, allocations: 126.8 kB / 0.7637 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.4919, allocations: 40.86 kB / 0.7638 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.4919, allocations: 11.94 kB / 0.7638 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.4922, allocations: 107.3 kB / 0.7639 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 3.126e-06/0.4923, allocations: 0 / 0.7639 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005842/0.4929, allocations: 177.4 kB / 0.764 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.4929, allocations: 51.41 kB / 0.7641 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.4937, allocations: 418.5 kB / 0.7645 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.4938, allocations: 29.69 kB / 0.7645 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.494, allocations: 172.3 kB / 0.7647 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.4941, allocations: 27.61 kB / 0.7647 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.4941, allocations: 4 kB / 0.7647 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4943, allocations: 346.8 kB / 0.765 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.4945, allocations: 76.16 kB / 0.7651 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.4948, allocations: 98.97 kB / 0.7652 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.495, allocations: 83.06 kB / 0.7653 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.4951, allocations: 3.953 kB / 0.7653 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007352/0.4958, allocations: 253.1 kB / 0.7655 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/0.4959, allocations: 63.39 kB / 0.7656 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4959, allocations: 0 / 0.7656 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.496, allocations: 4 kB / 0.7656 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.4963, allocations: 31.97 kB / 0.7656 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4963, allocations: 0 / 0.7656 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.4965, allocations: 23.75 kB / 0.7656 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.4966, allocations: 11.98 kB / 0.7657 GB, free: 12.56 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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.0001417/0.4967, allocations: 126.4 kB / 0.7658 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000426/0.4972, allocations: 165.2 kB / 0.7659 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.4973, allocations: 35.61 kB / 0.766 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/0.4979, allocations: 192.6 kB / 0.7662 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4979, allocations: 4 kB / 0.7662 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4979, allocations: 0 / 0.7662 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4979, allocations: 0 / 0.7662 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.4983, allocations: 282 kB / 0.7664 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4983, allocations: 7.938 kB / 0.7664 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.4985, allocations: 19.98 kB / 0.7665 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.4985, allocations: 0 / 0.7665 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.4985, allocations: 4 kB / 0.7665 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4986, allocations: 4 kB / 0.7665 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4986, allocations: 0 / 0.7665 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.4991, allocations: 208.5 kB / 0.7667 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.4993, allocations: 148.6 kB / 0.7668 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.4994, allocations: 4 kB / 0.7668 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.4996, allocations: 11.98 kB / 0.7668 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.636e-05/0.4997, allocations: 15.98 kB / 0.7668 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.4997, allocations: 7.984 kB / 0.7668 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005816/0.5003, allocations: 328.5 kB / 0.7672 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5003, allocations: 0 / 0.7672 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004954/0.5008, allocations: 79.81 kB / 0.7672 GB, free: 10.85 MB / 0.6511 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 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002217/0.5031, allocations: 1.129 MB / 0.7683 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006709/0.5038, allocations: 326.6 kB / 0.7686 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5038, allocations: 0 / 0.7686 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.504, allocations: 59.92 kB / 0.7687 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.5047, allocations: 65.14 kB / 0.7688 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.5062, allocations: 0.5113 MB / 0.7693 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.5067, allocations: 0.7874 MB / 0.77 GB, free: 7.934 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002766/0.507, allocations: 54.05 kB / 0.7701 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.5073, allocations: 99.39 kB / 0.7702 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/0.5073, allocations: 0 / 0.7702 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04929/0.5566, allocations: 6.589 MB / 0.7766 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/0.557, allocations: 178.9 kB / 0.7768 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.631/3.188, allocations: 0 / 0.7768 GB, free: 1.043 MB / 0.6511 GB