Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00183/0.00183, allocations: 99.64 kB / 18.95 MB, free: 2.836 MB / 14.72 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.002393/0.002393, allocations: 214 kB / 22.24 MB, free: 5.113 MB / 14.72 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 1.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.972/2.972, allocations: 476 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 69.3 kB / 1.117 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3853, allocations: 169.9 MB / 1.283 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002009/0.3873, allocations: 0.604 MB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.389, allocations: 1.137 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.389, allocations: 0 / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.3891, allocations: 3.938 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.3891, allocations: 3.938 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.3896, allocations: 115.9 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.3898, allocations: 91.83 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3899, allocations: 11.92 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-05/0.39, allocations: 39.91 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3902, allocations: 27.95 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.3902, allocations: 11.94 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.3903, allocations: 16 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.3903, allocations: 11.97 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.3904, allocations: 27.92 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3906, allocations: 83.72 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3906, allocations: 0 / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3906, allocations: 4 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3906, allocations: 0 / 1.285 GB, free: 9.863 MB / 0.9825 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.0005774/0.3912, allocations: 300 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3912, allocations: 15.97 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.3913, allocations: 8.891 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.3914, allocations: 110.5 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.3914, allocations: 8.375 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3915, allocations: 8.375 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.3916, allocations: 38.25 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3916, allocations: 192 / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3916, allocations: 3.938 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3916, allocations: 0 / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/0.3916, allocations: 11.98 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.3921, allocations: 228.5 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.023e-05/0.3921, allocations: 26.56 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.3922, allocations: 12.92 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.3922, allocations: 3.938 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.3923, allocations: 63.38 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3923, allocations: 0 / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002256/0.3926, allocations: 77.58 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.3926, allocations: 51.41 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3927, allocations: 105.8 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3927, allocations: 29.7 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.3928, allocations: 100.1 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.3928, allocations: 3.953 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.3929, allocations: 29.7 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3931, allocations: 322.8 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.97e-05/0.3932, allocations: 61.67 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3933, allocations: 76.27 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.3934, allocations: 88.2 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3934, allocations: 0 / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002977/0.3937, allocations: 188.9 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.3938, allocations: 45.64 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3938, allocations: 0 / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3938, allocations: 0 / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.3938, allocations: 4 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3938, allocations: 0 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.394, allocations: 27.95 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.3941, allocations: 7.938 kB / 1.287 GB, free: 7.609 MB / 0.9825 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 0.0001088/0.3942, allocations: 117.8 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.3942, allocations: 11.89 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.3942, allocations: 8 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3942, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3942, allocations: 3.984 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3942, allocations: 0 / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.3944, allocations: 117.4 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3944, allocations: 0 / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.3944, allocations: 3.938 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3944, allocations: 0 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.3944, allocations: 4 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3944, allocations: 0 / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3944, allocations: 4 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.3945, allocations: 81.06 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.3945, allocations: 19.81 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.3946, allocations: 0 / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.686e-05/0.3946, allocations: 4 kB / 1.287 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.3946, allocations: 4 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3946, allocations: 0 / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.557e-05/0.3947, allocations: 87.27 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3947, allocations: 0 / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002188/0.3949, allocations: 16 kB / 1.288 GB, free: 7.074 MB / 0.9825 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.000146/0.395, allocations: 110.2 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002698/0.3953, allocations: 145 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3953, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.614e-05/0.3953, allocations: 12 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.3955, allocations: 16.39 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.3959, allocations: 130 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.526e-05/0.3959, allocations: 63.47 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.396, allocations: 12.45 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.396, allocations: 7.438 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.396, allocations: 0 / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.004375/0.4004, allocations: 1.192 MB / 1.289 GB, free: 5.359 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.675726970657706]