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.001755/0.001755, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002415/0.002415, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.773 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.717/2.717, allocations: 476 MB / 0.7699 GB, free: 4.684 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [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.002142/0.002142, allocations: 67.23 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3128, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00173/0.3145, allocations: 0.6003 MB / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3159, allocations: 1.129 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.316, allocations: 0 / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.316, allocations: 7.938 kB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.316, allocations: 11.92 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.3165, allocations: 124.8 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.3166, allocations: 83.89 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.3167, allocations: 7.516 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.3168, allocations: 43.89 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.3168, allocations: 27.91 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.3169, allocations: 8 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.888e-05/0.3169, allocations: 19.92 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.3169, allocations: 8 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.317, allocations: 31.91 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.3171, allocations: 83.78 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3171, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3171, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3172, allocations: 0 / 1.285 GB, free: 10.23 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.0004134/0.3176, allocations: 301.7 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3176, allocations: 12.03 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.3176, allocations: 30.75 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.3177, allocations: 12.88 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.355e-05/0.3178, allocations: 110.5 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3178, allocations: 4.375 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.3178, allocations: 8.375 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.928e-05/0.3179, allocations: 46.17 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3179, allocations: 3.938 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3179, allocations: 0 / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3179, allocations: 0 / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.318, allocations: 12 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.3183, allocations: 248 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.167e-05/0.3184, allocations: 22.52 kB / 1.285 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.3184, allocations: 28.78 kB / 1.285 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.3184, allocations: 4 kB / 1.285 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.3186, allocations: 59.39 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3186, allocations: 0 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.00019/0.3188, allocations: 69.64 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.3188, allocations: 55.41 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.95e-05/0.3189, allocations: 113.8 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3189, allocations: 25.7 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.319, allocations: 88.14 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.319, allocations: 7.938 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.3191, allocations: 33.69 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3192, allocations: 322.8 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/0.3193, allocations: 57.69 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3194, allocations: 80.25 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.3195, allocations: 96.08 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3195, allocations: 0 / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003242/0.3199, allocations: 181 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.3199, allocations: 41.69 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3199, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3199, allocations: 64 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.641e-05/0.32, allocations: 8 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.32, allocations: 0 / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3202, allocations: 23.97 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.3202, allocations: 11.98 kB / 1.287 GB, free: 7.902 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.0001028/0.3203, allocations: 117.8 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.3203, allocations: 3.953 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.3203, allocations: 8 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3203, allocations: 0 / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3203, allocations: 4 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3203, allocations: 0 / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.3204, allocations: 136.7 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3204, allocations: 3.984 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.3205, allocations: 7.938 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3205, allocations: 0 / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.3205, allocations: 64 / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3205, allocations: 7.938 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3205, allocations: 0 / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.3206, allocations: 85.06 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.3206, allocations: 4.234 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3206, allocations: 11.98 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.3206, allocations: 4 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.3207, allocations: 3.984 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.3207, allocations: 0 / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.109e-05/0.3207, allocations: 91.66 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3207, allocations: 0 / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002158/0.3209, allocations: 19.94 kB / 1.287 GB, free: 7.328 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.0004507/0.3214, allocations: 0.6282 MB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.3216, allocations: 145.1 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3216, allocations: 4.062 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.3217, allocations: 8 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.3218, allocations: 15.94 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.3235, allocations: 1.513 MB / 1.289 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.124e-05/0.3235, allocations: 67.28 kB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.3236, allocations: 0 / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.3236, allocations: 19.42 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3236, allocations: 4 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.3547, allocations: 2.612 MB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.83, allocations: 14.89 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.44635073374957]