Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 255.9 MB / 271.2 MB, free: 8.895 MB / 218.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.00144/0.00144, allocations: 191.4 kB / 330.8 MB, free: 480 kB / 250.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.582/1.582, allocations: 225.7 MB / 0.6016 GB, free: 1.629 MB / 426.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.001042/0.001042, allocations: 105.2 kB / 0.709 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004104, allocations: 15.5 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2474, allocations: 109.2 MB / 0.9328 GB, free: 6.258 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001646/0.2491, allocations: 1.177 MB / 0.9339 GB, free: 5.07 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0003877/0.2495, allocations: 171.5 kB / 0.9341 GB, free: 4.902 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.2496, allocations: 3.938 kB / 0.9341 GB, free: 4.898 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.2496, allocations: 7.922 kB / 0.9341 GB, free: 4.891 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2497, allocations: 7.922 kB / 0.9341 GB, free: 4.883 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.2499, allocations: 35.97 kB / 0.9341 GB, free: 4.848 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 9.404e-05/0.25, allocations: 79.83 kB / 0.9342 GB, free: 4.77 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.2501, allocations: 31.95 kB / 0.9342 GB, free: 4.738 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.845e-05/0.2502, allocations: 27.86 kB / 0.9343 GB, free: 4.711 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.496e-05/0.2503, allocations: 43.81 kB / 0.9343 GB, free: 4.668 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.2503, allocations: 4 kB / 0.9343 GB, free: 4.664 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.2503, allocations: 4 kB / 0.9343 GB, free: 4.66 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.2504, allocations: 15.92 kB / 0.9343 GB, free: 4.645 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.2504, allocations: 53.5 kB / 0.9344 GB, free: 4.586 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 9.934e-05/0.2505, allocations: 83.7 kB / 0.9345 GB, free: 4.504 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2505, allocations: 0 / 0.9345 GB, free: 4.504 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2505, allocations: 0 / 0.9345 GB, free: 4.504 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.2505, allocations: 0 / 0.9345 GB, free: 4.504 MB / 0.573 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.0005573/0.2511, allocations: 387.5 kB / 0.9348 GB, free: 4.074 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2512, allocations: 19.98 kB / 0.9348 GB, free: 4.055 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.2512, allocations: 8.844 kB / 0.9349 GB, free: 4.047 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.2513, allocations: 184.1 kB / 0.935 GB, free: 3.828 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2513, allocations: 384 / 0.935 GB, free: 3.828 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.2514, allocations: 8.375 kB / 0.935 GB, free: 3.82 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.2516, allocations: 122.2 kB / 0.9352 GB, free: 3.695 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2517, allocations: 192 / 0.9352 GB, free: 3.695 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2517, allocations: 3.938 kB / 0.9352 GB, free: 3.691 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2517, allocations: 0 / 0.9352 GB, free: 3.691 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.252, allocations: 123.9 kB / 0.9353 GB, free: 3.57 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.2525, allocations: 336.6 kB / 0.9356 GB, free: 3.191 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.2531, allocations: 134.6 kB / 0.9357 GB, free: 3.051 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.2533, allocations: 72.75 kB / 0.9358 GB, free: 2.977 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.2533, allocations: 3.984 kB / 0.9358 GB, free: 2.973 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.2534, allocations: 38.5 kB / 0.9358 GB, free: 2.926 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.2534, allocations: 0 / 0.9358 GB, free: 2.926 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0006352/0.254, allocations: 217.5 kB / 0.936 GB, free: 2.707 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.254, allocations: 51.41 kB / 0.9361 GB, free: 2.645 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.2541, allocations: 125.8 kB / 0.9362 GB, free: 2.512 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2541, allocations: 25.7 kB / 0.9362 GB, free: 2.48 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.2542, allocations: 92.14 kB / 0.9363 GB, free: 2.387 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.2542, allocations: 23.64 kB / 0.9363 GB, free: 2.363 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.2542, allocations: 4 kB / 0.9364 GB, free: 2.359 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.286e-05/0.2543, allocations: 318.8 kB / 0.9367 GB, free: 2.039 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.2544, allocations: 59.95 kB / 0.9367 GB, free: 1.98 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.2546, allocations: 59.89 kB / 0.9368 GB, free: 1.922 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.255, allocations: 125.2 kB / 0.9369 GB, free: 1.797 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.255, allocations: 4 kB / 0.9369 GB, free: 1.793 MB / 0.573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003784/0.2554, allocations: 157.5 kB / 0.937 GB, free: 1.633 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2554, allocations: 4 kB / 0.937 GB, free: 1.629 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2554, allocations: 3.984 kB / 0.9371 GB, free: 1.625 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2554, allocations: 4 kB / 0.9371 GB, free: 1.621 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2556, allocations: 31.97 kB / 0.9371 GB, free: 1.59 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2556, allocations: 0 / 0.9371 GB, free: 1.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.2557, allocations: 19.98 kB / 0.9371 GB, free: 1.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2557, allocations: 4 kB / 0.9371 GB, free: 1.566 MB / 0.573 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 6.7e-05/0.2558, allocations: 122.4 kB / 0.9372 GB, free: 1.438 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.2558, allocations: 7.906 kB / 0.9372 GB, free: 1.43 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.2563, allocations: 173.9 kB / 0.9374 GB, free: 1.254 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2563, allocations: 4 kB / 0.9374 GB, free: 1.25 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.2563, allocations: 0 / 0.9374 GB, free: 1.25 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2563, allocations: 3.938 kB / 0.9374 GB, free: 1.246 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.2565, allocations: 205.5 kB / 0.9376 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.2565, allocations: 4 kB / 0.9376 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.2566, allocations: 31.91 kB / 0.9376 GB, free: 0.9609 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2566, allocations: 4 kB / 0.9376 GB, free: 0.957 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.2567, allocations: 4 kB / 0.9376 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2567, allocations: 0 / 0.9376 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2567, allocations: 0 / 0.9376 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.2571, allocations: 255.3 kB / 0.9379 GB, free: 0.6875 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.2571, allocations: 85.02 kB / 0.938 GB, free: 0.5859 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.2571, allocations: 3.984 kB / 0.938 GB, free: 0.582 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.2573, allocations: 23.98 kB / 0.938 GB, free: 0.5586 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.2574, allocations: 19.97 kB / 0.938 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2574, allocations: 0 / 0.938 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.2574, allocations: 99.27 kB / 0.9381 GB, free: 452 kB / 0.573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2574, allocations: 0 / 0.9381 GB, free: 452 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002062/0.2576, allocations: 12 kB / 0.9381 GB, free: 440 kB / 0.573 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.0001149/0.2578, allocations: 107.1 kB / 0.9382 GB, free: 324 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.2582, allocations: 139.9 kB / 0.9384 GB, free: 184 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2582, allocations: 0 / 0.9384 GB, free: 184 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.2584, allocations: 71.89 kB / 0.9384 GB, free: 112 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.2587, allocations: 15.5 kB / 0.9384 GB, free: 100 kB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.2592, allocations: 195.9 kB / 0.9386 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.2594, allocations: 0.7003 MB / 0.9393 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.103e-05/0.2595, allocations: 15.98 kB / 0.9393 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.2596, allocations: 11.44 kB / 0.9393 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of SimCode: time 3.01e-07/0.2596, allocations: 0 / 0.9393 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of Templates: time 0.003654/0.2633, allocations: 1.338 MB / 0.9406 GB, free: 13.78 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)