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.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.778/1.778, allocations: 306.1 MB / 321.4 MB, free: 10.72 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.001037/0.001037, allocations: 187.2 kB / 393.1 MB, free: 4.07 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.686/1.686, 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.0007741/0.0007741, allocations: 96.11 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003823, allocations: 8 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.751, allocations: 121.3 MB / 1.041 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001422/0.7525, allocations: 430 kB / 1.041 GB, free: 58.2 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.7538, allocations: 0.8266 MB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.7539, allocations: 1.688 kB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.7539, allocations: 1.531 kB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.7541, allocations: 3.938 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.7543, allocations: 25.69 kB / 1.042 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.7544, allocations: 40.7 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.7546, allocations: 17.56 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.858e-05/0.7547, allocations: 13.52 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.7548, allocations: 22.77 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.7548, allocations: 2.812 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.7548, allocations: 1.25 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.7549, allocations: 14.17 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.7549, allocations: 38.14 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.7551, allocations: 40.89 kB / 1.042 GB, free: 57.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.7551, allocations: 0 / 1.042 GB, free: 57.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7551, allocations: 1.969 kB / 1.042 GB, free: 57.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.7551, allocations: 0 / 1.042 GB, free: 57.46 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.0005415/0.7557, allocations: 356.7 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.502e-05/0.7558, allocations: 13.53 kB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.7558, allocations: 7.469 kB / 1.043 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.756, allocations: 171.9 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.756, allocations: 5.875 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.756, allocations: 3.031 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.7563, allocations: 75.47 kB / 1.043 GB, free: 56.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.7563, allocations: 0 / 1.043 GB, free: 56.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.7563, allocations: 1.312 kB / 1.043 GB, free: 56.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.7563, allocations: 0 / 1.043 GB, free: 56.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.7566, allocations: 66.28 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.7571, allocations: 295.4 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.7573, allocations: 67.72 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.7574, allocations: 39.09 kB / 1.043 GB, free: 56.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.7575, allocations: 0 / 1.043 GB, free: 56.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.7575, allocations: 35.28 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.7575, allocations: 0 / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0004839/0.758, allocations: 126.2 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.7581, allocations: 52.66 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.7582, allocations: 109.9 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.7582, allocations: 27.7 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.7582, allocations: 89.42 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.7583, allocations: 15.19 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.7583, allocations: 0 / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.7584, allocations: 323.2 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.7585, allocations: 27.34 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.955e-05/0.7586, allocations: 29.91 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.7588, allocations: 67.62 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7588, allocations: 0 / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002616/0.7591, allocations: 99.33 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.7591, allocations: 9.469 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.7591, allocations: 0 / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.7592, allocations: 8.484 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.7593, allocations: 12.33 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.7593, allocations: 6.562 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.569e-05/0.7594, allocations: 9.359 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.7594, allocations: 0.5625 kB / 1.044 GB, free: 55.7 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 (intLesEquThr.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 9.407e-05/0.7595, allocations: 122.8 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.7596, allocations: 4 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.7596, allocations: 10.66 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.7596, allocations: 0 / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.7596, allocations: 0 / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7596, allocations: 3.938 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.7598, allocations: 175 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.7598, allocations: 6.156 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.7599, allocations: 15.69 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7599, allocations: 0 / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.7599, allocations: 4 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.76, allocations: 0 / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.76, allocations: 0 / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.7603, allocations: 192.8 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.7603, allocations: 83.03 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.7603, allocations: 1.094 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.7604, allocations: 14.81 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.7605, allocations: 8.516 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.7605, allocations: 0.75 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.7606, allocations: 93.95 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7606, allocations: 3.938 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002023/0.7608, allocations: 8.312 kB / 1.045 GB, free: 55.02 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 (intLesEquThr.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.0001322/0.7609, allocations: 112.5 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.7612, allocations: 64.45 kB / 1.045 GB, free: 54.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7612, allocations: 0 / 1.045 GB, free: 54.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.7613, allocations: 39.27 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.7616, allocations: 11.38 kB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.762, allocations: 154.7 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.7621, allocations: 0.6813 MB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.877e-05/0.7622, allocations: 7.203 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.7622, allocations: 10.34 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.7622, allocations: 0 / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of Templates: time 0.002907/0.7652, allocations: 0.7602 MB / 1.047 GB, free: 53.98 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)