Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01615/0.01615, allocations: 92.55 kB / 15.04 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001998/0.001999, allocations: 176 kB / 15.92 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.215/2.215, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.35/2.35, allocations: 252.8 MB / 0.511 GB, free: 8.281 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006478/0.0006481, allocations: 19.78 kB / 0.6243 GB, free: 21.11 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2214, allocations: 106.2 MB / 0.7281 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002893/0.2244, allocations: 1.653 MB / 0.7297 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.2265, allocations: 0.9019 MB / 0.7306 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.2266, allocations: 7.938 kB / 0.7306 GB, free: 5.469 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.2271, allocations: 143.6 kB / 0.7307 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.2275, allocations: 131.6 kB / 0.7308 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.2281, allocations: 143.6 kB / 0.731 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.2284, allocations: 179.6 kB / 0.7312 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.2286, allocations: 44.36 kB / 0.7312 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.2289, allocations: 127.5 kB / 0.7313 GB, free: 4.715 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.2291, allocations: 103.6 kB / 0.7314 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.2292, allocations: 4 kB / 0.7314 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.2293, allocations: 19.98 kB / 0.7314 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.2294, allocations: 75.73 kB / 0.7315 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.485e-05/0.2295, allocations: 73.52 kB / 0.7316 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.2299, allocations: 263.6 kB / 0.7318 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.23, allocations: 0 / 0.7318 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.894e-06/0.23, allocations: 4 kB / 0.7318 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.23, allocations: 4 kB / 0.7318 GB, free: 4.172 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001099/0.2311, allocations: 0.5525 MB / 0.7324 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.2311, allocations: 8.031 kB / 0.7324 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.997e-05/0.2312, allocations: 42.55 kB / 0.7324 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.421e-05/0.2313, allocations: 31.53 kB / 0.7325 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006403/0.232, allocations: 345.3 kB / 0.7328 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.232, allocations: 4 kB / 0.7328 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.232, allocations: 12 kB / 0.7328 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.2324, allocations: 109.5 kB / 0.7329 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.2324, allocations: 3.953 kB / 0.7329 GB, free: 2.969 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.2325, allocations: 4 kB / 0.7329 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.2325, allocations: 4 kB / 0.7329 GB, free: 2.961 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.2328, allocations: 55.91 kB / 0.733 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.2338, allocations: 484.5 kB / 0.7334 GB, free: 2.383 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005668/0.2344, allocations: 134.7 kB / 0.7336 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.2344, allocations: 7.984 kB / 0.7336 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003846/0.2348, allocations: 111.5 kB / 0.7337 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 2.053e-06/0.2349, allocations: 3.938 kB / 0.7337 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0008345/0.2357, allocations: 225.1 kB / 0.7339 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.2358, allocations: 55.41 kB / 0.7339 GB, free: 1.816 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/0.2366, allocations: 0.4897 MB / 0.7344 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.2366, allocations: 33.7 kB / 0.7345 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.2368, allocations: 164.4 kB / 0.7346 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.2369, allocations: 35.55 kB / 0.7346 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.2369, allocations: 8 kB / 0.7347 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.2371, allocations: 338.8 kB / 0.735 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.2374, allocations: 104.5 kB / 0.7351 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.2378, allocations: 124.4 kB / 0.7352 GB, free: 0.5039 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.2381, allocations: 111.9 kB / 0.7353 GB, free: 404 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2382, allocations: 3.938 kB / 0.7353 GB, free: 400 kB / 0.5573 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008584/0.239, allocations: 314.9 kB / 0.7356 GB, free: 80 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2391, allocations: 7.938 kB / 0.7356 GB, free: 72 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.2391, allocations: 4 kB / 0.7356 GB, free: 68 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2391, allocations: 0 / 0.7356 GB, free: 68 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.2395, allocations: 47.97 kB / 0.7357 GB, free: 20 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2395, allocations: 0 / 0.7357 GB, free: 20 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.2398, allocations: 27.89 kB / 0.7357 GB, free: 15.99 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.2399, allocations: 15.94 kB / 0.7357 GB, free: 15.98 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002532/0.2402, allocations: 181.8 kB / 0.7359 GB, free: 15.79 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.2402, allocations: 31.62 kB / 0.7359 GB, free: 15.76 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.041e-05/0.2403, allocations: 31.02 kB / 0.7359 GB, free: 15.73 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2404, allocations: 4 kB / 0.7359 GB, free: 15.72 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2404, allocations: 3.938 kB / 0.7359 GB, free: 15.72 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2404, allocations: 3.984 kB / 0.7359 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.2408, allocations: 297.4 kB / 0.7362 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.2408, allocations: 3.953 kB / 0.7362 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.2409, allocations: 15.98 kB / 0.7363 GB, free: 15.36 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.2409, allocations: 3.984 kB / 0.7363 GB, free: 15.35 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.2409, allocations: 4 kB / 0.7363 GB, free: 15.35 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.241, allocations: 0 / 0.7363 GB, free: 15.35 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.241, allocations: 4 kB / 0.7363 GB, free: 15.34 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.2416, allocations: 200.7 kB / 0.7365 GB, free: 15.13 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.2417, allocations: 112.7 kB / 0.7366 GB, free: 15 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/0.2418, allocations: 11.98 kB / 0.7366 GB, free: 14.99 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.2419, allocations: 4 kB / 0.7366 GB, free: 14.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.2421, allocations: 23.91 kB / 0.7366 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.2421, allocations: 8 kB / 0.7366 GB, free: 14.95 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005029/0.2426, allocations: 303.1 kB / 0.7369 GB, free: 14.66 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2426, allocations: 0 / 0.7369 GB, free: 14.66 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003989/0.243, allocations: 51.88 kB / 0.7369 GB, free: 14.61 MB / 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002/0.245, allocations: 1.079 MB / 0.738 GB, free: 13.64 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006812/0.2458, allocations: 196.3 kB / 0.7382 GB, free: 13.45 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2458, allocations: 0 / 0.7382 GB, free: 13.45 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.246, allocations: 55.97 kB / 0.7382 GB, free: 13.4 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/0.2467, allocations: 76.12 kB / 0.7383 GB, free: 13.32 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.2485, allocations: 1.142 MB / 0.7394 GB, free: 12.12 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.249, allocations: 0.7908 MB / 0.7402 GB, free: 11.31 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002694/0.2492, allocations: 54.94 kB / 0.7403 GB, free: 11.25 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.2495, allocations: 103.4 kB / 0.7404 GB, free: 11.15 MB / 0.573 GB Notification: Performance of SimCode: time 9.21e-07/0.2495, allocations: 0 / 0.7404 GB, free: 11.15 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.2793, allocations: 6.508 MB / 0.7467 GB, free: 4.75 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003182/0.2797, allocations: 239.6 kB / 0.7469 GB, free: 4.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/2.815, allocations: 0 / 0.7469 GB, free: 4.5 MB / 0.573 GB