Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 297.4 MB / 312.6 MB, free: 2.922 MB / 234.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.001023/0.001023, allocations: 194 kB / 382.3 MB, free: 14.83 MB / 314.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.465/1.465, allocations: 225.7 MB / 0.6617 GB, free: 7.219 MB / 490.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.0008529/0.0008532, allocations: 94.42 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004315, allocations: 12 kB / 0.9059 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8127, allocations: 119.2 MB / 1.022 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001023/0.8138, allocations: 346.2 kB / 1.023 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.8154, allocations: 1.259 MB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.8155, allocations: 0.875 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.8155, allocations: 0 / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.102e-05/0.8156, allocations: 10.25 kB / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.816, allocations: 110.5 kB / 1.024 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.8161, allocations: 77.44 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.8162, allocations: 9.891 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.544e-05/0.8163, allocations: 33.41 kB / 1.024 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.8164, allocations: 22.47 kB / 1.024 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.8164, allocations: 3.969 kB / 1.024 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.709e-05/0.8165, allocations: 17.8 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.8165, allocations: 7.312 kB / 1.024 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.243e-05/0.8166, allocations: 52.06 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.8168, allocations: 82.73 kB / 1.024 GB, free: 56.85 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8168, allocations: 2.719 kB / 1.024 GB, free: 56.85 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8168, allocations: 0 / 1.024 GB, free: 56.85 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.8168, allocations: 0 / 1.024 GB, free: 56.85 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000372/0.8172, allocations: 370.6 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.8172, allocations: 8.344 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.8173, allocations: 4.844 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.817e-05/0.8174, allocations: 168.8 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.8174, allocations: 8.906 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.8175, allocations: 9.5 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.454e-05/0.8176, allocations: 35.14 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.8176, allocations: 192 / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.8176, allocations: 6.719 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.8176, allocations: 0.75 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/0.8176, allocations: 12.94 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.818, allocations: 292.2 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.265e-05/0.8181, allocations: 34 kB / 1.025 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.8181, allocations: 13.38 kB / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.8181, allocations: 0 / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.8183, allocations: 66.03 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.8183, allocations: 0 / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002003/0.8185, allocations: 73.48 kB / 1.025 GB, free: 55.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.8185, allocations: 53.3 kB / 1.025 GB, free: 55.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.8186, allocations: 110.3 kB / 1.025 GB, free: 55.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.8186, allocations: 27.89 kB / 1.025 GB, free: 55.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.8187, allocations: 92.7 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.8187, allocations: 5.312 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.8187, allocations: 5.781 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.8188, allocations: 317.9 kB / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.8189, allocations: 28.75 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.898e-05/0.819, allocations: 51.81 kB / 1.026 GB, free: 55.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.8191, allocations: 86.66 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8191, allocations: 3.938 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002487/0.8194, allocations: 146.2 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.8194, allocations: 42.45 kB / 1.026 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8194, allocations: 2.125 kB / 1.026 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.8194, allocations: 0.7969 kB / 1.026 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.8195, allocations: 4.875 kB / 1.026 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.8195, allocations: 2.125 kB / 1.026 GB, free: 54.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.8198, allocations: 48.91 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.8198, allocations: 5.484 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booToInt.y,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.804e-05/0.8199, allocations: 121.1 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.8199, allocations: 3.109 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.8199, allocations: 8.969 kB / 1.026 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.8199, allocations: 1.375 kB / 1.026 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.8199, allocations: 0.6562 kB / 1.026 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8199, allocations: 3.938 kB / 1.026 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.804e-05/0.82, allocations: 169.5 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.82, allocations: 1.375 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.8201, allocations: 2.266 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8201, allocations: 1.375 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.8201, allocations: 4.578 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8201, allocations: 4.188 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8201, allocations: 2.859 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.8202, allocations: 91.31 kB / 1.027 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.8202, allocations: 79.09 kB / 1.027 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.8203, allocations: 4.75 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.351e-05/0.8203, allocations: 1.375 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.8203, allocations: 2.875 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.8203, allocations: 6.031 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.088e-05/0.8204, allocations: 93.56 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8204, allocations: 0 / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001995/0.8206, allocations: 15.77 kB / 1.027 GB, free: 54.31 MB / 0.698 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,$whenCondition2,booToInt.y,booPul.y) * 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 (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.0001409/0.8207, allocations: 112.3 kB / 1.027 GB, free: 54.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.821, allocations: 126.3 kB / 1.027 GB, free: 54.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.821, allocations: 1.25 kB / 1.027 GB, free: 54.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.439e-05/0.8211, allocations: 17.8 kB / 1.027 GB, free: 54.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.8213, allocations: 12.03 kB / 1.027 GB, free: 54.11 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.8216, allocations: 135.5 kB / 1.027 GB, free: 53.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.8217, allocations: 0.68 MB / 1.028 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.8217, allocations: 7.719 kB / 1.028 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.8217, allocations: 13.88 kB / 1.028 GB, free: 53.28 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.8217, allocations: 0 / 1.028 GB, free: 53.28 MB / 0.698 GB Notification: Performance of Templates: time 0.003568/0.8253, allocations: 1.02 MB / 1.029 GB, free: 53.18 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)