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 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.LessThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.01114/0.01114, allocations: 106.8 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.001209/0.001209, allocations: 182.4 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 1.973/1.973, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.316/2.316, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.000478, allocations: 19.98 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7347/0.7352, allocations: 98.71 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002438/0.7377, allocations: 1.104 MB / 0.6845 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005225/0.7383, allocations: 140.6 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.51e-05/0.7384, allocations: 0.8125 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.7384, allocations: 6.328 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.7385, allocations: 3.984 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.7387, allocations: 21.98 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.365e-05/0.7388, allocations: 26.59 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.7389, allocations: 12.38 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.961e-05/0.739, allocations: 13.89 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.262e-05/0.7391, allocations: 23.94 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.7392, allocations: 2.094 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.805e-05/0.7392, allocations: 2.375 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.7392, allocations: 6.875 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.7393, allocations: 31.7 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.7394, allocations: 33.06 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.7394, allocations: 0 / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7394, allocations: 0 / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.7394, allocations: 1.281 kB / 0.6848 GB, free: 15.76 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.0006627/0.7401, allocations: 354.6 kB / 0.6852 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.7402, allocations: 8.562 kB / 0.6852 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.7402, allocations: 32.97 kB / 0.6852 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.7403, allocations: 10.36 kB / 0.6852 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.7405, allocations: 175.1 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.7405, allocations: 2.375 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.7405, allocations: 10.06 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.741, allocations: 68.36 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.741, allocations: 0.9375 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.741, allocations: 3.984 kB / 0.6855 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.7411, allocations: 5.375 kB / 0.6855 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.7416, allocations: 62.84 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/0.7423, allocations: 289 kB / 0.6858 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.7429, allocations: 67.17 kB / 0.6859 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.7429, allocations: 0.6094 kB / 0.6859 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.743, allocations: 32.06 kB / 0.6859 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 3.968e-06/0.743, allocations: 3.938 kB / 0.6859 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0009939/0.744, allocations: 136 kB / 0.686 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.7441, allocations: 52.02 kB / 0.6861 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.7442, allocations: 110.8 kB / 0.6862 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.7443, allocations: 25.7 kB / 0.6862 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.7443, allocations: 92.38 kB / 0.6863 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.7444, allocations: 22.45 kB / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.7444, allocations: 0 / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.7445, allocations: 313 kB / 0.6866 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.7448, allocations: 27.77 kB / 0.6867 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.7451, allocations: 32.73 kB / 0.6867 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.7454, allocations: 30.38 kB / 0.6867 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7454, allocations: 0 / 0.6867 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000661/0.7461, allocations: 96.56 kB / 0.6868 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.7461, allocations: 6.422 kB / 0.6868 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7461, allocations: 0 / 0.6868 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.7462, allocations: 3.953 kB / 0.6868 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.7464, allocations: 15.19 kB / 0.6868 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.7465, allocations: 0.5156 kB / 0.6868 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.7466, allocations: 15.02 kB / 0.6868 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.7467, allocations: 2.047 kB / 0.6868 GB, free: 13.95 MB / 0.5261 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.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked 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 0.0001119/0.7468, allocations: 113.1 kB / 0.687 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.7469, allocations: 6.5 kB / 0.687 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.7469, allocations: 10.05 kB / 0.687 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.747, allocations: 0.6094 kB / 0.687 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.747, allocations: 3.953 kB / 0.687 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.747, allocations: 1.156 kB / 0.687 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.7474, allocations: 174.6 kB / 0.6871 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.7474, allocations: 0.8906 kB / 0.6871 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.7476, allocations: 13.34 kB / 0.6872 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.7477, allocations: 1.094 kB / 0.6872 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.7477, allocations: 5.375 kB / 0.6872 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7477, allocations: 0 / 0.6872 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7477, allocations: 2.078 kB / 0.6872 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.7484, allocations: 197.1 kB / 0.6874 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.7485, allocations: 82.28 kB / 0.6874 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.7485, allocations: 5.125 kB / 0.6874 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.7488, allocations: 10.77 kB / 0.6874 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.7489, allocations: 13.2 kB / 0.6875 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.7489, allocations: 1.656 kB / 0.6875 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.749, allocations: 95.16 kB / 0.6876 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.71e-07/0.749, allocations: 0 / 0.6876 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005323/0.7496, allocations: 11.12 kB / 0.6876 GB, free: 13.26 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked 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.0009431/0.7505, allocations: 0.729 MB / 0.6883 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005904/0.7511, allocations: 65 kB / 0.6883 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7512, allocations: 0 / 0.6883 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.7515, allocations: 42.94 kB / 0.6884 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.7519, allocations: 4.094 kB / 0.6884 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.7538, allocations: 490.9 kB / 0.6888 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.7541, allocations: 0.6851 MB / 0.6895 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000106/0.7542, allocations: 3.625 kB / 0.6895 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.862e-05/0.7543, allocations: 15.77 kB / 0.6895 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/0.7543, allocations: 3.938 kB / 0.6895 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.7787, allocations: 1.512 MB / 0.691 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.779, allocations: 205.6 kB / 0.6912 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.306, allocations: 0 / 0.6912 GB, free: 11.03 MB / 0.5261 GB