Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 255.9 MB / 271.2 MB, free: 8.848 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.0009655/0.0009656, allocations: 178.8 kB / 330.8 MB, free: 456 kB / 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 1.687/1.687, allocations: 225.7 MB / 0.6016 GB, free: 1.629 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.0008187/0.0008188, allocations: 96.88 kB / 0.709 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005194, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2773, allocations: 109.2 MB / 0.9328 GB, free: 6.242 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001448/0.2788, allocations: 1.029 MB / 0.9338 GB, free: 5.203 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0004135/0.2792, allocations: 167.6 kB / 0.9339 GB, free: 5.039 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/0.2793, allocations: 0 / 0.9339 GB, free: 5.039 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.2793, allocations: 0 / 0.9339 GB, free: 5.039 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 8.586e-05/0.2794, allocations: 7.938 kB / 0.9339 GB, free: 5.031 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.2796, allocations: 11.98 kB / 0.9339 GB, free: 5.02 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.835e-05/0.2797, allocations: 35.8 kB / 0.934 GB, free: 4.984 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2798, allocations: 11.98 kB / 0.934 GB, free: 4.973 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.2798, allocations: 8 kB / 0.934 GB, free: 4.965 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.2799, allocations: 11.92 kB / 0.934 GB, free: 4.953 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.2799, allocations: 0 / 0.934 GB, free: 4.953 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.2799, allocations: 4 kB / 0.934 GB, free: 4.949 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.28, allocations: 7.938 kB / 0.934 GB, free: 4.941 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.744e-05/0.28, allocations: 41.56 kB / 0.9341 GB, free: 4.895 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 7.787e-05/0.2801, allocations: 23.95 kB / 0.9341 GB, free: 4.871 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2801, allocations: 0 / 0.9341 GB, free: 4.871 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2801, allocations: 4 kB / 0.9341 GB, free: 4.867 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2801, allocations: 3.938 kB / 0.9341 GB, free: 4.863 MB / 0.573 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.0004673/0.2806, allocations: 347.7 kB / 0.9344 GB, free: 4.473 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2806, allocations: 11.98 kB / 0.9344 GB, free: 4.461 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.2807, allocations: 4.938 kB / 0.9344 GB, free: 4.457 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.2808, allocations: 164.4 kB / 0.9346 GB, free: 4.258 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.2808, allocations: 4.375 kB / 0.9346 GB, free: 4.254 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.2808, allocations: 4.312 kB / 0.9346 GB, free: 4.25 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.2809, allocations: 46.25 kB / 0.9347 GB, free: 4.199 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.281, allocations: 192 / 0.9347 GB, free: 4.199 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.281, allocations: 11.94 kB / 0.9347 GB, free: 4.188 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.281, allocations: 0 / 0.9347 GB, free: 4.188 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.631e-05/0.281, allocations: 11.98 kB / 0.9347 GB, free: 4.176 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.2814, allocations: 256.9 kB / 0.9349 GB, free: 3.875 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.2817, allocations: 98.39 kB / 0.935 GB, free: 3.77 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.2818, allocations: 12.92 kB / 0.935 GB, free: 3.754 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.2818, allocations: 4 kB / 0.935 GB, free: 3.75 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.2819, allocations: 55.48 kB / 0.9351 GB, free: 3.684 MB / 0.573 GB Notification: Performance of pre-optimization done (n=4): time 1.883e-06/0.2819, allocations: 0 / 0.9351 GB, free: 3.684 MB / 0.573 GB Notification: Performance of matching and sorting (n=4): time 0.0001789/0.2821, allocations: 65.61 kB / 0.9351 GB, free: 3.613 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.2822, allocations: 55.41 kB / 0.9352 GB, free: 3.547 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.301e-05/0.2822, allocations: 105.8 kB / 0.9353 GB, free: 3.434 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.2822, allocations: 29.7 kB / 0.9353 GB, free: 3.398 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.2823, allocations: 84.14 kB / 0.9354 GB, free: 3.312 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.2823, allocations: 11.84 kB / 0.9354 GB, free: 3.301 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.2823, allocations: 4 kB / 0.9354 GB, free: 3.297 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.2824, allocations: 314.8 kB / 0.9357 GB, free: 2.98 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.2824, allocations: 8 kB / 0.9357 GB, free: 2.973 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/0.2824, allocations: 21.72 kB / 0.9358 GB, free: 2.945 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.216e-05/0.2825, allocations: 29.64 kB / 0.9358 GB, free: 2.91 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2825, allocations: 7.938 kB / 0.9358 GB, free: 2.902 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.698e-05/0.2826, allocations: 57.59 kB / 0.9358 GB, free: 2.84 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2826, allocations: 11.91 kB / 0.9359 GB, free: 2.828 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2826, allocations: 0 / 0.9359 GB, free: 2.828 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2826, allocations: 0 / 0.9359 GB, free: 2.828 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.214e-05/0.2827, allocations: 7.938 kB / 0.9359 GB, free: 2.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2827, allocations: 0 / 0.9359 GB, free: 2.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.381e-05/0.2827, allocations: 11.94 kB / 0.9359 GB, free: 2.809 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.2827, allocations: 3.938 kB / 0.9359 GB, free: 2.805 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/0.2828, allocations: 127 kB / 0.936 GB, free: 2.672 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.2828, allocations: 0 / 0.936 GB, free: 2.672 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.2828, allocations: 7.906 kB / 0.936 GB, free: 2.66 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2829, allocations: 4 kB / 0.936 GB, free: 2.656 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2829, allocations: 0 / 0.936 GB, free: 2.656 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2829, allocations: 0 / 0.936 GB, free: 2.656 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.385e-05/0.283, allocations: 169.5 kB / 0.9362 GB, free: 2.441 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.283, allocations: 0 / 0.9362 GB, free: 2.441 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.527e-05/0.283, allocations: 0 / 0.9362 GB, free: 2.441 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.283, allocations: 4 kB / 0.9362 GB, free: 2.438 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.283, allocations: 0 / 0.9362 GB, free: 2.438 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.283, allocations: 4 kB / 0.9362 GB, free: 2.434 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.283, allocations: 384 / 0.9362 GB, free: 2.434 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.751e-05/0.2831, allocations: 84.98 kB / 0.9363 GB, free: 2.332 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.2831, allocations: 77.11 kB / 0.9363 GB, free: 2.238 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.2832, allocations: 8 kB / 0.9363 GB, free: 2.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.006e-05/0.2832, allocations: 8 kB / 0.9363 GB, free: 2.223 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.2833, allocations: 11.98 kB / 0.9364 GB, free: 2.211 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2833, allocations: 0 / 0.9364 GB, free: 2.211 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.2833, allocations: 87.27 kB / 0.9364 GB, free: 2.125 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2833, allocations: 0 / 0.9364 GB, free: 2.125 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001823/0.2835, allocations: 8 kB / 0.9365 GB, free: 2.117 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: 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 (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.681e-05/0.2836, allocations: 104.5 kB / 0.9366 GB, free: 2.004 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.854e-05/0.2837, allocations: 28.2 kB / 0.9366 GB, free: 1.977 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2837, allocations: 4.062 kB / 0.9366 GB, free: 1.973 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-05/0.2838, allocations: 12 kB / 0.9366 GB, free: 1.961 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.284, allocations: 11.94 kB / 0.9366 GB, free: 1.949 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.2842, allocations: 142.7 kB / 0.9367 GB, free: 1.781 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.2843, allocations: 0.677 MB / 0.9374 GB, free: 1.078 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.2844, allocations: 11.98 kB / 0.9374 GB, free: 1.066 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.2844, allocations: 7.438 kB / 0.9374 GB, free: 1.059 MB / 0.573 GB Notification: Performance of SimCode: time 3.01e-07/0.2844, allocations: 4 kB / 0.9374 GB, free: 1.055 MB / 0.573 GB Notification: Performance of Templates: time 0.002203/0.2866, allocations: 0.492 MB / 0.9379 GB, free: 0.5703 MB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)