Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9714/0.9714, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.965/1.965, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.962e-05, allocations: 5.219 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001819/0.001838, allocations: 0.6577 MB / 0.7758 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.003455, allocations: 1.154 MB / 0.7769 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.003502, allocations: 4.906 kB / 0.777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.003538, allocations: 0 / 0.777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.825e-05/0.003626, allocations: 17.56 kB / 0.777 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.004063, allocations: 119.6 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.004238, allocations: 91.83 kB / 0.7772 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.00431, allocations: 3.984 kB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.004417, allocations: 48.95 kB / 0.7772 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.004529, allocations: 25.27 kB / 0.7772 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.004551, allocations: 10.75 kB / 0.7773 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.139e-05/0.004633, allocations: 28.62 kB / 0.7773 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.004653, allocations: 5.531 kB / 0.7773 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.004698, allocations: 24.75 kB / 0.7773 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.004856, allocations: 80.97 kB / 0.7774 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.004859, allocations: 3.938 kB / 0.7774 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.92e-07/0.00486, allocations: 0 / 0.7774 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004864, allocations: 2.156 kB / 0.7774 GB, free: 3.145 MB / 0.7292 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.0003574/0.005221, allocations: 270.6 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.005257, allocations: 13.34 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.0053, allocations: 8.922 kB / 0.7777 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.792e-05/0.005398, allocations: 105.8 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.005419, allocations: 4.375 kB / 0.7778 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.005438, allocations: 9.078 kB / 0.7778 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.662e-05/0.005514, allocations: 50.95 kB / 0.7778 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.005522, allocations: 0.7812 kB / 0.7778 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.005529, allocations: 1.188 kB / 0.7778 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005536, allocations: 384 / 0.7778 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.005558, allocations: 16.45 kB / 0.7779 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.005825, allocations: 168.2 kB / 0.778 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.439e-05/0.00587, allocations: 23.27 kB / 0.778 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.005885, allocations: 9.828 kB / 0.778 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.005896, allocations: 0 / 0.778 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.9e-05/0.005985, allocations: 59.98 kB / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.005986, allocations: 0 / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001324/0.006118, allocations: 50.38 kB / 0.7782 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.006152, allocations: 55.41 kB / 0.7782 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.006232, allocations: 119.2 kB / 0.7783 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.006248, allocations: 27.14 kB / 0.7783 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.006294, allocations: 88.12 kB / 0.7784 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.006305, allocations: 7.953 kB / 0.7784 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.006358, allocations: 29.69 kB / 0.7785 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.006455, allocations: 315.5 kB / 0.7788 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.006514, allocations: 45.69 kB / 0.7788 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.006586, allocations: 85.11 kB / 0.7789 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.628e-05/0.006672, allocations: 78.03 kB / 0.779 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.006674, allocations: 3.938 kB / 0.779 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001597/0.006834, allocations: 141.8 kB / 0.7791 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.006868, allocations: 33.7 kB / 0.7791 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.006873, allocations: 0 / 0.7791 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.006891, allocations: 12.67 kB / 0.7791 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.316e-05/0.006934, allocations: 3.938 kB / 0.7792 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.006939, allocations: 4.672 kB / 0.7792 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.00707, allocations: 25.12 kB / 0.7792 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.007086, allocations: 7.984 kB / 0.7792 GB, free: 1.102 MB / 0.7292 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,booPul.y,$PRE.booPul.y,booToInt.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 7.264e-05/0.007159, allocations: 114.7 kB / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.00717, allocations: 4 kB / 0.7793 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.007194, allocations: 8.625 kB / 0.7793 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.007197, allocations: 4.625 kB / 0.7793 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.007199, allocations: 0 / 0.7793 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.007203, allocations: 1.75 kB / 0.7793 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.664e-05/0.007279, allocations: 73.88 kB / 0.7794 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.00728, allocations: 0 / 0.7794 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-05/0.007294, allocations: 4 kB / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.007296, allocations: 0 / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.0073, allocations: 0.5938 kB / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.007301, allocations: 0 / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007302, allocations: 1 kB / 0.7794 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.112e-05/0.007383, allocations: 81.2 kB / 0.7795 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.007389, allocations: 0.5312 kB / 0.7795 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.007401, allocations: 8 kB / 0.7795 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.1e-05/0.007412, allocations: 1.125 kB / 0.7795 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.007435, allocations: 3.984 kB / 0.7795 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.007439, allocations: 3.938 kB / 0.7795 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.825e-05/0.007457, allocations: 17.66 kB / 0.7795 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007457, allocations: 0 / 0.7795 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000197/0.007654, allocations: 16.53 kB / 0.7795 GB, free: 0.7266 MB / 0.7292 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 9.926e-05/0.007753, allocations: 89.25 kB / 0.7796 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.007917, allocations: 134.9 kB / 0.7797 GB, free: 492 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.007919, allocations: 0 / 0.7797 GB, free: 492 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.218e-05/0.007941, allocations: 17.72 kB / 0.7798 GB, free: 472 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.008048, allocations: 12.66 kB / 0.7798 GB, free: 460 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.008272, allocations: 136.5 kB / 0.7799 GB, free: 296 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.546e-05/0.008307, allocations: 60.22 kB / 0.7799 GB, free: 216 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.845e-05/0.008326, allocations: 4 kB / 0.78 GB, free: 212 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.008406, allocations: 64.11 kB / 0.78 GB, free: 148 kB / 0.7292 GB Notification: Performance of SimCode: time 7.31e-07/0.008407, allocations: 0 / 0.78 GB, free: 148 kB / 0.7292 GB Notification: Performance of Templates: time 0.003427/0.01183, allocations: 1.296 MB / 0.7813 GB, free: 14.93 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.953029512427747]