Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.818/1.818, allocations: 306.1 MB / 321.3 MB, free: 10.71 MB / 250.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.001071/0.001071, allocations: 195.2 kB / 393.1 MB, free: 4.059 MB / 314.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.696/1.696, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.0009218, allocations: 95.47 kB / 0.7935 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003961, allocations: 8 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7367/0.7371, allocations: 121.3 MB / 1.041 GB, free: 58.58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001137/0.7383, allocations: 429.8 kB / 1.041 GB, free: 58.38 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000961/0.7393, allocations: 0.8304 MB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.7393, allocations: 1.719 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.7394, allocations: 0 / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.863e-05/0.7395, allocations: 6.281 kB / 1.042 GB, free: 57.74 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.7396, allocations: 26.58 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.18e-05/0.7397, allocations: 39.86 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.7399, allocations: 13.7 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.152e-05/0.7399, allocations: 17.3 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.869e-05/0.74, allocations: 23.53 kB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.7401, allocations: 3.531 kB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.7401, allocations: 1.75 kB / 1.042 GB, free: 57.69 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.7401, allocations: 11.31 kB / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.7402, allocations: 41.72 kB / 1.042 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.7403, allocations: 39.84 kB / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.7403, allocations: 0 / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7403, allocations: 0.8125 kB / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.7403, allocations: 0 / 1.042 GB, free: 57.63 MB / 0.698 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.0005017/0.7408, allocations: 356.4 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.7409, allocations: 14.72 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.7409, allocations: 7.875 kB / 1.043 GB, free: 57.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.7411, allocations: 167.9 kB / 1.043 GB, free: 57.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.7411, allocations: 3.469 kB / 1.043 GB, free: 57.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.7411, allocations: 10.69 kB / 1.043 GB, free: 57.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.7413, allocations: 73.88 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.7413, allocations: 2.656 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.7413, allocations: 1.625 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7414, allocations: 0 / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.7416, allocations: 61.86 kB / 1.043 GB, free: 57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.742, allocations: 293.3 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.7422, allocations: 75.48 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.7423, allocations: 36.97 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.7424, allocations: 0.6562 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.7424, allocations: 37.39 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.7424, allocations: 0 / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0004064/0.7428, allocations: 127.4 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.7428, allocations: 51.41 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.7429, allocations: 117.4 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.7429, allocations: 27.8 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.743, allocations: 80.14 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.743, allocations: 15.03 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.743, allocations: 0 / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.7431, allocations: 316.3 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.7432, allocations: 42.08 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/0.7433, allocations: 26.47 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.7435, allocations: 65.61 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7435, allocations: 0 / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002226/0.7437, allocations: 101.1 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.7438, allocations: 7.375 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7438, allocations: 2.688 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7438, allocations: 0 / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.7439, allocations: 19.62 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.7439, allocations: 3.938 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.744, allocations: 12.92 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.744, allocations: 4.391 kB / 1.044 GB, free: 55.86 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/0.7441, allocations: 111.9 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.7441, allocations: 6.75 kB / 1.045 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.7442, allocations: 3.906 kB / 1.045 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7442, allocations: 2.156 kB / 1.045 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.7442, allocations: 0.6562 kB / 1.045 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.7442, allocations: 4 kB / 1.045 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.7443, allocations: 174.6 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7443, allocations: 0 / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.802e-05/0.7444, allocations: 19.16 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.7444, allocations: 0 / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.7445, allocations: 3.469 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7445, allocations: 3.938 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.7445, allocations: 3.281 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.7447, allocations: 194 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.7448, allocations: 79.12 kB / 1.045 GB, free: 55.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.7448, allocations: 1 kB / 1.045 GB, free: 55.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.7449, allocations: 10.31 kB / 1.045 GB, free: 55.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.421e-05/0.745, allocations: 18.84 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.745, allocations: 2.156 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.7451, allocations: 86.28 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7451, allocations: 0 / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002015/0.7453, allocations: 6.219 kB / 1.045 GB, free: 55.19 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001458/0.7454, allocations: 109.4 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002658/0.7457, allocations: 74.27 kB / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7457, allocations: 0 / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.7458, allocations: 32.66 kB / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.7461, allocations: 5.312 kB / 1.045 GB, free: 55.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.7465, allocations: 156.6 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.7467, allocations: 0.6855 MB / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.104e-05/0.7467, allocations: 6.938 kB / 1.046 GB, free: 54.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.7468, allocations: 13.67 kB / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/0.7468, allocations: 0 / 1.046 GB, free: 54.22 MB / 0.698 GB Notification: Performance of Templates: time 0.003069/0.7498, allocations: 0.762 MB / 1.047 GB, free: 54.14 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)