Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.851/1.851, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.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.001015/0.001015, allocations: 179.2 kB / 393.1 MB, free: 4.082 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.613/1.613, allocations: 225.7 MB / 0.6743 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008801/0.0008797, allocations: 90.14 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 12 kB / 0.9224 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7311/0.7315, allocations: 121.3 MB / 1.041 GB, free: 58.65 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0009897/0.7326, allocations: 342.5 kB / 1.041 GB, free: 58.49 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.7341, allocations: 1.253 MB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.7341, allocations: 2.406 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.7342, allocations: 1.375 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.7342, allocations: 7.922 kB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.7348, allocations: 112.5 kB / 1.043 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.7349, allocations: 79.91 kB / 1.043 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.735, allocations: 5.656 kB / 1.043 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.621e-05/0.7351, allocations: 32.55 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/0.7352, allocations: 23.28 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.7352, allocations: 7.031 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/0.7353, allocations: 14.59 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.7353, allocations: 10.69 kB / 1.043 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.392e-05/0.7354, allocations: 51.59 kB / 1.043 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.7356, allocations: 78.89 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.7356, allocations: 0 / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.926e-06/0.7356, allocations: 0.7031 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.7356, allocations: 0 / 1.043 GB, free: 57.32 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.0005502/0.7362, allocations: 370.4 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.7363, allocations: 13.53 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.7363, allocations: 8.812 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.7364, allocations: 169.7 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.7365, allocations: 3.234 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.7365, allocations: 5.719 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.848e-05/0.7366, allocations: 40.84 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.7366, allocations: 2.562 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.7366, allocations: 6.984 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.7366, allocations: 0 / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.002e-05/0.7367, allocations: 5.531 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.7371, allocations: 290.3 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.137e-05/0.7371, allocations: 39.22 kB / 1.044 GB, free: 56.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.7372, allocations: 8.359 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.7372, allocations: 0 / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.7373, allocations: 63.17 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.7374, allocations: 0 / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002047/0.7376, allocations: 74.75 kB / 1.044 GB, free: 56.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.7376, allocations: 55.84 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.371e-05/0.7377, allocations: 104.1 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.7377, allocations: 32.55 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.7377, allocations: 91.92 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.7378, allocations: 9.094 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.7378, allocations: 7.75 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.7379, allocations: 311.5 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.7379, allocations: 32.09 kB / 1.045 GB, free: 55.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.63e-05/0.738, allocations: 48.2 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.7382, allocations: 88.45 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7382, allocations: 3.938 kB / 1.045 GB, free: 55.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002481/0.7384, allocations: 153.6 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.7385, allocations: 39.8 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.7385, allocations: 0 / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.7385, allocations: 1.578 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.7386, allocations: 8.25 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.7386, allocations: 1.312 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.7389, allocations: 41.81 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.7389, allocations: 10.8 kB / 1.045 GB, free: 55.37 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 0.0001076/0.7391, allocations: 123.2 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.7391, allocations: 0 / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.7391, allocations: 12.03 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.7391, allocations: 1.094 kB / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7391, allocations: 0 / 1.045 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.7392, allocations: 7.031 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.7393, allocations: 164.6 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7393, allocations: 1.562 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.7393, allocations: 3.469 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7393, allocations: 0 / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.7393, allocations: 1.219 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7394, allocations: 0 / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.7394, allocations: 0 / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.7395, allocations: 97.23 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.7395, allocations: 77.81 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.7396, allocations: 8.375 kB / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/0.7396, allocations: 2.25 kB / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.7396, allocations: 0 / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.7396, allocations: 5.875 kB / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.631e-05/0.7397, allocations: 90.2 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7397, allocations: 0 / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002121/0.7399, allocations: 14.47 kB / 1.045 GB, free: 54.77 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.0001831/0.7401, allocations: 108.3 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.7404, allocations: 127.7 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7404, allocations: 3.938 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.687e-05/0.7404, allocations: 14.88 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.7407, allocations: 20.3 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.7411, allocations: 135.7 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.7413, allocations: 0.6797 MB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.364e-05/0.7413, allocations: 2.344 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.7413, allocations: 10.22 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/0.7413, allocations: 0 / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of Templates: time 0.00391/0.7452, allocations: 1.038 MB / 1.048 GB, free: 53.63 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)