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.Conversions.Validation.BooleanToInteger.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.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.368/2.368, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.00139/0.00139, allocations: 193 kB / 329.5 MB, free: 1.168 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.481/2.481, allocations: 225.6 MB / 0.6001 GB, free: 0.5078 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.0009377/0.0009376, allocations: 102.2 kB / 0.7074 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000487/0.0004873, allocations: 11.22 kB / 0.8242 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2258, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001469/0.2273, allocations: 1.021 MB / 0.9318 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004192/0.2278, allocations: 183.6 kB / 0.9319 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.2278, allocations: 0 / 0.9319 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.2279, allocations: 0 / 0.9319 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.115e-05/0.228, allocations: 7.938 kB / 0.932 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.2281, allocations: 7.984 kB / 0.932 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.203e-05/0.2282, allocations: 35.8 kB / 0.932 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.2283, allocations: 7.984 kB / 0.932 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.2283, allocations: 8 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.2284, allocations: 11.92 kB / 0.932 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.2284, allocations: 0 / 0.932 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.2285, allocations: 11.94 kB / 0.932 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.2285, allocations: 0 / 0.932 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.2285, allocations: 33.64 kB / 0.9321 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.014e-05/0.2286, allocations: 19.95 kB / 0.9321 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2286, allocations: 0 / 0.9321 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.195e-06/0.2286, allocations: 0 / 0.9321 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2286, allocations: 0 / 0.9321 GB, free: 23.53 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004762/0.2291, allocations: 347.7 kB / 0.9324 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2292, allocations: 8.031 kB / 0.9324 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.2292, allocations: 8.844 kB / 0.9324 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2293, allocations: 164.4 kB / 0.9326 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.2294, allocations: 8.375 kB / 0.9326 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.2294, allocations: 384 / 0.9326 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.2295, allocations: 42.25 kB / 0.9326 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2295, allocations: 192 / 0.9326 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2295, allocations: 3.938 kB / 0.9326 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2295, allocations: 0 / 0.9326 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.2296, allocations: 19.94 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.23, allocations: 253 kB / 0.9329 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.2306, allocations: 98.44 kB / 0.933 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.2306, allocations: 12.92 kB / 0.933 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.2306, allocations: 0 / 0.933 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.2308, allocations: 59.44 kB / 0.9331 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.913e-06/0.2308, allocations: 4 kB / 0.9331 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002186/0.231, allocations: 65.77 kB / 0.9331 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.2311, allocations: 55.39 kB / 0.9332 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.2312, allocations: 105.9 kB / 0.9333 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.2312, allocations: 25.7 kB / 0.9333 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.2312, allocations: 92.06 kB / 0.9334 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2313, allocations: 11.84 kB / 0.9334 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/0.2313, allocations: 0 / 0.9334 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.2314, allocations: 310.8 kB / 0.9337 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.2314, allocations: 12 kB / 0.9337 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.2314, allocations: 25.95 kB / 0.9337 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.2315, allocations: 8 kB / 0.9337 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2315, allocations: 3.938 kB / 0.9337 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001166/0.2316, allocations: 61.69 kB / 0.9338 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2317, allocations: 7.938 kB / 0.9338 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2317, allocations: 4 kB / 0.9338 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2317, allocations: 32 / 0.9338 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.076e-05/0.2318, allocations: 12 kB / 0.9338 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2318, allocations: 0 / 0.9338 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.184e-05/0.2319, allocations: 15.89 kB / 0.9338 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.2319, allocations: 0 / 0.9338 GB, free: 21.49 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booToInt.y,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.48e-05/0.232, allocations: 118.3 kB / 0.934 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.232, allocations: 0 / 0.934 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.232, allocations: 7.906 kB / 0.934 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2321, allocations: 0 / 0.934 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2321, allocations: 4 kB / 0.934 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2321, allocations: 0 / 0.934 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.2322, allocations: 169.6 kB / 0.9341 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2322, allocations: 0 / 0.9341 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.2323, allocations: 0 / 0.9341 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2323, allocations: 3.938 kB / 0.9341 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2323, allocations: 7.984 kB / 0.9341 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2323, allocations: 0 / 0.9341 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2323, allocations: 0 / 0.9341 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.2324, allocations: 84.97 kB / 0.9342 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.2325, allocations: 81.11 kB / 0.9343 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.2325, allocations: 0 / 0.9343 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.2326, allocations: 7.984 kB / 0.9343 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.2327, allocations: 4 kB / 0.9343 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.2327, allocations: 0 / 0.9343 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.2327, allocations: 87.27 kB / 0.9344 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2327, allocations: 0 / 0.9344 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002292/0.233, allocations: 12 kB / 0.9344 GB, free: 20.82 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: 4 ($whenCondition1,booToInt.y,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001146/0.2331, allocations: 107.2 kB / 0.9345 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.2332, allocations: 27.92 kB / 0.9345 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2332, allocations: 0 / 0.9345 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.155e-05/0.2333, allocations: 12 kB / 0.9345 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.2336, allocations: 11.92 kB / 0.9346 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.2339, allocations: 151.2 kB / 0.9347 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.2341, allocations: 0.677 MB / 0.9354 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.108e-05/0.2341, allocations: 4 kB / 0.9354 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.2342, allocations: 11.38 kB / 0.9354 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of SimCode: time 9.11e-07/0.2342, allocations: 0 / 0.9354 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of Templates: time 0.00311/0.2373, allocations: 481.9 kB / 0.9358 GB, free: 19.29 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)