Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.384/2.384, allocations: 255 MB / 269.9 MB, free: 9.645 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.001316/0.001316, allocations: 184.7 kB / 329.5 MB, free: 1.176 MB / 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 2.588/2.588, allocations: 225.6 MB / 0.6001 GB, free: 2.254 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.0009421/0.0009419, allocations: 101.7 kB / 0.7074 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005103/0.0005107, allocations: 16.22 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2126, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001693/0.2144, allocations: 1.181 MB / 0.9319 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005165/0.215, allocations: 171.6 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.215, allocations: 4 kB / 0.9321 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.2151, allocations: 3.938 kB / 0.9321 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.2152, allocations: 7.875 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.2154, allocations: 35.97 kB / 0.9321 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.2155, allocations: 75.81 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2157, allocations: 19.98 kB / 0.9322 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.997e-05/0.2158, allocations: 31.84 kB / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.2159, allocations: 43.81 kB / 0.9323 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.2159, allocations: 4 kB / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.027e-05/0.2159, allocations: 8 kB / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.216, allocations: 15.92 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.216, allocations: 29.7 kB / 0.9324 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.631e-05/0.2161, allocations: 51.86 kB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2161, allocations: 4 kB / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2161, allocations: 0 / 0.9324 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2162, allocations: 0 / 0.9324 GB, free: 23.43 MB / 0.5886 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.000755/0.2169, allocations: 399.5 kB / 0.9328 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.217, allocations: 8.031 kB / 0.9328 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.217, allocations: 8.844 kB / 0.9328 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2172, allocations: 176.2 kB / 0.933 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2172, allocations: 4.375 kB / 0.933 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.2172, allocations: 8.375 kB / 0.933 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.2177, allocations: 114.2 kB / 0.9331 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2177, allocations: 4.172 kB / 0.9331 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.2178, allocations: 3.938 kB / 0.9331 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2178, allocations: 4 kB / 0.9331 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006636/0.2185, allocations: 115.9 kB / 0.9332 GB, free: 22.51 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006888/0.2192, allocations: 348.6 kB / 0.9336 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.2203, allocations: 130.6 kB / 0.9337 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.2206, allocations: 68.73 kB / 0.9337 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.2207, allocations: 8 kB / 0.9338 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.2207, allocations: 34.56 kB / 0.9338 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 3.156e-06/0.2207, allocations: 0 / 0.9338 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.001138/0.2219, allocations: 217.4 kB / 0.934 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.2219, allocations: 51.41 kB / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.222, allocations: 117.8 kB / 0.9342 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.2221, allocations: 29.7 kB / 0.9342 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.2221, allocations: 100 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.2222, allocations: 11.75 kB / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.2222, allocations: 8 kB / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.2223, allocations: 318.8 kB / 0.9346 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.2226, allocations: 59.89 kB / 0.9347 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.2229, allocations: 60.27 kB / 0.9347 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.2233, allocations: 60.09 kB / 0.9348 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2233, allocations: 3.938 kB / 0.9348 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007956/0.2241, allocations: 165.4 kB / 0.9349 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2242, allocations: 4 kB / 0.9349 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2242, allocations: 0 / 0.9349 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.2242, allocations: 0 / 0.9349 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.2245, allocations: 31.97 kB / 0.935 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.2246, allocations: 7.984 kB / 0.935 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.2248, allocations: 19.98 kB / 0.935 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2248, allocations: 0 / 0.935 GB, free: 20.57 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.2249, allocations: 121.7 kB / 0.9351 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.225, allocations: 7.906 kB / 0.9351 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008145/0.2258, allocations: 173.9 kB / 0.9353 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2258, allocations: 4 kB / 0.9353 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2258, allocations: 0 / 0.9353 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2258, allocations: 0 / 0.9353 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.2261, allocations: 205.5 kB / 0.9355 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2261, allocations: 0 / 0.9355 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.2264, allocations: 31.97 kB / 0.9355 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2264, allocations: 3.938 kB / 0.9355 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.2265, allocations: 0 / 0.9355 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2265, allocations: 4 kB / 0.9355 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.2265, allocations: 0 / 0.9355 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000759/0.2272, allocations: 259.3 kB / 0.9358 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.2273, allocations: 89.02 kB / 0.9359 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.2273, allocations: 0 / 0.9359 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.2276, allocations: 19.97 kB / 0.9359 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2277, allocations: 27.97 kB / 0.9359 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.2278, allocations: 0 / 0.9359 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.037e-05/0.2278, allocations: 95.27 kB / 0.936 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2278, allocations: 0 / 0.936 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002984/0.2281, allocations: 12 kB / 0.936 GB, free: 19.43 MB / 0.5886 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 (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.0001338/0.2283, allocations: 111.1 kB / 0.9361 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007276/0.229, allocations: 123.9 kB / 0.9362 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.229, allocations: 0 / 0.9362 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003687/0.2294, allocations: 75.89 kB / 0.9363 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.2298, allocations: 12.7 kB / 0.9363 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.2304, allocations: 197.2 kB / 0.9365 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.2306, allocations: 0.6887 MB / 0.9372 GB, free: 18.17 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.2307, allocations: 15.75 kB / 0.9372 GB, free: 18.15 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.2308, allocations: 19.36 kB / 0.9372 GB, free: 18.13 MB / 0.5886 GB Notification: Performance of SimCode: time 1.222e-06/0.2308, allocations: 0 / 0.9372 GB, free: 18.13 MB / 0.5886 GB Notification: Performance of Templates: time 0.004884/0.2357, allocations: 1.313 MB / 0.9385 GB, free: 16.82 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)