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.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.341/2.341, allocations: 254.9 MB / 269.9 MB, free: 9.629 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.001386/0.001386, allocations: 188.6 kB / 329.5 MB, free: 1.145 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.342/2.342, allocations: 225.6 MB / 0.6001 GB, free: 2.195 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.001489/0.001489, allocations: 106.2 kB / 0.7074 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007674/0.0007677, allocations: 11.59 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2221, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001716/0.2239, allocations: 1.185 MB / 0.9319 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004375/0.2244, allocations: 171.5 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.974e-05/0.2245, allocations: 4 kB / 0.9321 GB, free: 23.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.2245, allocations: 3.938 kB / 0.9321 GB, free: 23.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.2246, allocations: 7.922 kB / 0.9321 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.2248, allocations: 31.95 kB / 0.9321 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.2249, allocations: 79.83 kB / 0.9322 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.2251, allocations: 20.2 kB / 0.9322 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.685e-05/0.2252, allocations: 35.86 kB / 0.9323 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.2253, allocations: 43.83 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.2253, allocations: 4 kB / 0.9323 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/0.2253, allocations: 4 kB / 0.9323 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.2254, allocations: 15.91 kB / 0.9323 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.2254, allocations: 33.7 kB / 0.9324 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.2255, allocations: 55.84 kB / 0.9324 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2255, allocations: 3.938 kB / 0.9324 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2255, allocations: 0 / 0.9324 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2256, allocations: 0 / 0.9324 GB, free: 23.4 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.0007622/0.2263, allocations: 403.5 kB / 0.9328 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2264, allocations: 8.031 kB / 0.9328 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.98e-05/0.2265, allocations: 8.844 kB / 0.9328 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2266, allocations: 184.1 kB / 0.933 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.2267, allocations: 8.375 kB / 0.933 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.2267, allocations: 4.375 kB / 0.933 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/0.2272, allocations: 114.2 kB / 0.9331 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2272, allocations: 4.188 kB / 0.9331 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.2272, allocations: 3.938 kB / 0.9331 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2272, allocations: 0 / 0.9331 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.2279, allocations: 123.9 kB / 0.9333 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006674/0.2286, allocations: 348.6 kB / 0.9336 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.2297, allocations: 138.5 kB / 0.9337 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.23, allocations: 64.81 kB / 0.9338 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.2301, allocations: 4 kB / 0.9338 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.2301, allocations: 34.56 kB / 0.9338 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.2301, allocations: 0 / 0.9338 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.001158/0.2313, allocations: 209.5 kB / 0.934 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.2313, allocations: 55.41 kB / 0.9341 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2315, allocations: 129.7 kB / 0.9342 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2315, allocations: 29.7 kB / 0.9342 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.2315, allocations: 92.08 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.2316, allocations: 19.7 kB / 0.9343 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.2316, allocations: 3.938 kB / 0.9343 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.95e-05/0.2317, allocations: 322.8 kB / 0.9346 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.232, allocations: 55.95 kB / 0.9347 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.2323, allocations: 59.94 kB / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.2327, allocations: 59.95 kB / 0.9348 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2327, allocations: 0 / 0.9348 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007371/0.2335, allocations: 161.5 kB / 0.935 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2335, allocations: 4 kB / 0.935 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2335, allocations: 0 / 0.935 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2335, allocations: 4 kB / 0.935 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.2339, allocations: 31.97 kB / 0.935 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.2339, allocations: 0 / 0.935 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.2341, allocations: 23.86 kB / 0.935 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.2341, allocations: 3.984 kB / 0.935 GB, free: 20.52 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 (add1.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.2343, allocations: 123.8 kB / 0.9351 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.2343, allocations: 7.906 kB / 0.9351 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.2344, allocations: 16.31 kB / 0.9352 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2344, allocations: 3.984 kB / 0.9352 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2344, allocations: 0 / 0.9352 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2344, allocations: 0 / 0.9352 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.2347, allocations: 213.5 kB / 0.9354 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2347, allocations: 0 / 0.9354 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.235, allocations: 31.97 kB / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.235, allocations: 0 / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.235, allocations: 7.984 kB / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.235, allocations: 4 kB / 0.9354 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.235, allocations: 0 / 0.9354 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/0.2358, allocations: 263.8 kB / 0.9357 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.2359, allocations: 81.02 kB / 0.9357 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.2359, allocations: 4 kB / 0.9357 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.2362, allocations: 19.98 kB / 0.9358 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.2363, allocations: 19.97 kB / 0.9358 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.2363, allocations: 4 kB / 0.9358 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.095e-05/0.2364, allocations: 99.77 kB / 0.9359 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2364, allocations: 0 / 0.9359 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002954/0.2367, allocations: 16 kB / 0.9359 GB, free: 19.53 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 (add1.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.0001188/0.2368, allocations: 111.2 kB / 0.936 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0007779/0.2376, allocations: 131.9 kB / 0.9361 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2376, allocations: 4 kB / 0.9361 GB, free: 19.28 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.238, allocations: 71.94 kB / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.2384, allocations: 15.94 kB / 0.9362 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/0.239, allocations: 189.3 kB / 0.9364 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.2392, allocations: 0.6926 MB / 0.9371 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.2393, allocations: 15.75 kB / 0.9371 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.15e-05/0.2394, allocations: 19.42 kB / 0.9371 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of SimCode: time 1.243e-06/0.2394, allocations: 7.938 kB / 0.9371 GB, free: 18.22 MB / 0.5886 GB Notification: Performance of Templates: time 0.00468/0.2441, allocations: 1.301 MB / 0.9384 GB, free: 16.92 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)