Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.93/1.93, allocations: 297.4 MB / 312.6 MB, free: 2.891 MB / 234.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.0009135/0.0009135, allocations: 190 kB / 382.3 MB, free: 14.8 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.621/1.621, allocations: 225.7 MB / 0.6617 GB, free: 7.203 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008835/0.0008834, allocations: 87.11 kB / 0.7789 GB, free: 46.67 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006519/0.000652, allocations: 12 kB / 0.9059 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8456/0.8463, allocations: 119.2 MB / 1.022 GB, free: 57.51 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001453/0.8478, allocations: 482.6 kB / 1.023 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.8492, allocations: 0.855 MB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.8493, allocations: 1.812 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.8493, allocations: 8.016 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.586e-05/0.8494, allocations: 5.344 kB / 1.024 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.8496, allocations: 37.64 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.8497, allocations: 81.53 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.8498, allocations: 23.62 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.991e-05/0.8499, allocations: 29.05 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.85, allocations: 41.05 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.8501, allocations: 5.719 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.641e-05/0.8501, allocations: 3.344 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.8501, allocations: 16.66 kB / 1.024 GB, free: 56.76 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.8502, allocations: 59.09 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.8503, allocations: 76.89 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8504, allocations: 1 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8504, allocations: 0 / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.8504, allocations: 0 / 1.024 GB, free: 56.69 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000589/0.851, allocations: 394.3 kB / 1.024 GB, free: 56.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.851, allocations: 9.156 kB / 1.024 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.8511, allocations: 13.16 kB / 1.024 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.8512, allocations: 178.8 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.8512, allocations: 2.781 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.8512, allocations: 7.719 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.8516, allocations: 115.6 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.8516, allocations: 1.281 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.8516, allocations: 5.938 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.8517, allocations: 2.312 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.8521, allocations: 124.5 kB / 1.025 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006039/0.8527, allocations: 338.6 kB / 1.025 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.8534, allocations: 140 kB / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.8536, allocations: 65.47 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.8536, allocations: 2.203 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.8537, allocations: 35.84 kB / 1.025 GB, free: 55.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.8537, allocations: 0 / 1.025 GB, free: 55.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0007338/0.8544, allocations: 218.8 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.8545, allocations: 60.08 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.8546, allocations: 120.4 kB / 1.026 GB, free: 55.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.8546, allocations: 26.8 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.8546, allocations: 102.2 kB / 1.026 GB, free: 55.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.8547, allocations: 13.16 kB / 1.026 GB, free: 55.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.8547, allocations: 4 kB / 1.026 GB, free: 55.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.8548, allocations: 327.7 kB / 1.026 GB, free: 54.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.855, allocations: 53.3 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.8551, allocations: 60.48 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.8555, allocations: 119.6 kB / 1.026 GB, free: 54.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8555, allocations: 0 / 1.026 GB, free: 54.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000436/0.856, allocations: 160.5 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.856, allocations: 13.56 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.856, allocations: 0 / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.856, allocations: 0.6562 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.8562, allocations: 33.11 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.8562, allocations: 1.766 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.8564, allocations: 20.61 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.8564, allocations: 4 kB / 1.027 GB, free: 54.78 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.213e-05/0.8565, allocations: 119.4 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.8565, allocations: 13.05 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004741/0.857, allocations: 177.3 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.857, allocations: 0.7969 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.857, allocations: 3.938 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.857, allocations: 0 / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.8572, allocations: 200.7 kB / 1.027 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.8572, allocations: 2.625 kB / 1.027 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.8574, allocations: 31.45 kB / 1.027 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8574, allocations: 0 / 1.027 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.8574, allocations: 2.469 kB / 1.027 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.8574, allocations: 4.156 kB / 1.027 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8574, allocations: 0 / 1.027 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.8579, allocations: 260.3 kB / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.8579, allocations: 85.98 kB / 1.027 GB, free: 54.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.858, allocations: 1.5 kB / 1.027 GB, free: 54.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.8581, allocations: 20.25 kB / 1.027 GB, free: 54.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.8582, allocations: 22.58 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.8583, allocations: 5.703 kB / 1.028 GB, free: 54.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.393e-05/0.8583, allocations: 93.45 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8583, allocations: 1.094 kB / 1.028 GB, free: 54.01 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000219/0.8586, allocations: 19.72 kB / 1.028 GB, free: 54 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001892/0.8588, allocations: 111.7 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00044/0.8592, allocations: 134.5 kB / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8592, allocations: 0 / 1.028 GB, free: 53.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.8594, allocations: 70.95 kB / 1.028 GB, free: 53.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.8598, allocations: 9.625 kB / 1.028 GB, free: 53.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.8603, allocations: 199.7 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.8606, allocations: 0.6949 MB / 1.029 GB, free: 53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.777e-05/0.8607, allocations: 12.59 kB / 1.029 GB, free: 52.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.8607, allocations: 13.05 kB / 1.029 GB, free: 52.98 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.8608, allocations: 1.938 kB / 1.029 GB, free: 52.98 MB / 0.698 GB Notification: Performance of Templates: time 0.004637/0.8654, allocations: 1.333 MB / 1.03 GB, free: 52.9 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)