Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009287/0.0009287, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002288, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009653/0.0009653, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001203/0.002168, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9558/0.9558, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1102/1.066, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.914/1.914, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5461/2.46, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.667e-06/3.667e-06, allocations: 3.984 kB / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.452e-05, allocations: 2.859 kB / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00254/0.002575, allocations: 0.6538 MB / 0.7303 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.004144, allocations: 1.165 MB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.004197, allocations: 4 kB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.004226, allocations: 7.094 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.00428, allocations: 2.625 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.004722, allocations: 119.6 kB / 0.7315 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.004934, allocations: 95.61 kB / 0.7316 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.005022, allocations: 4.656 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.00515, allocations: 58.12 kB / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.005258, allocations: 22.83 kB / 0.7317 GB, free: 2.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.005285, allocations: 8.875 kB / 0.7317 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.573e-05/0.005381, allocations: 23.98 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.005409, allocations: 9.469 kB / 0.7317 GB, free: 2.301 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.005455, allocations: 16.98 kB / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.005628, allocations: 62.22 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.725e-05/0.005645, allocations: 0.7812 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/0.005646, allocations: 0.7656 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.005663, allocations: 0.5 kB / 0.7318 GB, free: 2.227 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.0005415/0.006205, allocations: 283.6 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.006251, allocations: 8.031 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.006306, allocations: 8.922 kB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.006425, allocations: 109.8 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.006452, allocations: 9.922 kB / 0.7322 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.006474, allocations: 4.375 kB / 0.7322 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.006593, allocations: 51.52 kB / 0.7323 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.006604, allocations: 1.094 kB / 0.7323 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.006614, allocations: 384 / 0.7323 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.006626, allocations: 4.359 kB / 0.7323 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.006653, allocations: 8.75 kB / 0.7323 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.007053, allocations: 157.2 kB / 0.7324 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.058e-05/0.007143, allocations: 31.95 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.007164, allocations: 4.859 kB / 0.7325 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.007176, allocations: 0 / 0.7325 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.007314, allocations: 63.95 kB / 0.7325 GB, free: 1.398 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.007315, allocations: 1.469 kB / 0.7325 GB, free: 1.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001794/0.007495, allocations: 65.55 kB / 0.7326 GB, free: 1.328 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.007537, allocations: 51.41 kB / 0.7326 GB, free: 1.266 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.007624, allocations: 114.7 kB / 0.7328 GB, free: 1.141 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.007646, allocations: 31.75 kB / 0.7328 GB, free: 1.105 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.007698, allocations: 80.14 kB / 0.7329 GB, free: 1.023 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.007718, allocations: 19.88 kB / 0.7329 GB, free: 1.004 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.007776, allocations: 22.2 kB / 0.7329 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.007877, allocations: 323.3 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/0.007947, allocations: 51.22 kB / 0.7333 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.615e-05/0.008014, allocations: 68.27 kB / 0.7333 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.259e-05/0.008106, allocations: 80.25 kB / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.008109, allocations: 2.25 kB / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001885/0.008298, allocations: 145 kB / 0.7335 GB, free: 268 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.997e-05/0.008358, allocations: 42.94 kB / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.008365, allocations: 0.6562 kB / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.008386, allocations: 7.938 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.008449, allocations: 1.312 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.008456, allocations: 4.656 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.008624, allocations: 21.56 kB / 0.7336 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.008643, allocations: 4 kB / 0.7336 GB, free: 184 kB / 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,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 9.193e-05/0.008735, allocations: 113.8 kB / 0.7337 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.008754, allocations: 15.92 kB / 0.7337 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.008789, allocations: 5.344 kB / 0.7338 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.008794, allocations: 5.031 kB / 0.7338 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.008797, allocations: 0 / 0.7338 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.008801, allocations: 0.6562 kB / 0.7338 GB, free: 28 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.008921, allocations: 69.86 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.008924, allocations: 5.109 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.008952, allocations: 4 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-06/0.00896, allocations: 0 / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.008963, allocations: 0.9688 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.008968, allocations: 0 / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.008972, allocations: 4 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.008975, allocations: 5.844 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.009095, allocations: 73.09 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.009107, allocations: 4 kB / 0.7339 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.644e-05/0.009123, allocations: 1.25 kB / 0.7339 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.00915, allocations: 7.938 kB / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.009156, allocations: 3.938 kB / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.563e-05/0.009182, allocations: 21.66 kB / 0.7339 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.009182, allocations: 0 / 0.7339 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001856/0.009367, allocations: 16 kB / 0.734 GB, free: 15.78 MB / 0.7136 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.0001817/0.009549, allocations: 86 kB / 0.734 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.00975, allocations: 130.8 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.009758, allocations: 4 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.009787, allocations: 12.86 kB / 0.7342 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.009984, allocations: 68.61 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006368/0.01062, allocations: 145.6 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.01067, allocations: 51.36 kB / 0.7344 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.0107, allocations: 4.75 kB / 0.7344 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.525e-05/0.01079, allocations: 64.11 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/0.01079, allocations: 0 / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.00421/0.015, allocations: 1.301 MB / 0.7358 GB, free: 13.91 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.990093011409044]