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.0014/0.0014, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001479/0.001479, allocations: 214.8 kB / 23.04 MB, free: 5.078 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.837/2.837, allocations: 476.7 MB / 0.7715 GB, free: 4.277 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="cs",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.00197/0.00197, allocations: 64.38 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.323, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00176/0.3248, allocations: 0.5964 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3264, allocations: 1.161 MB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.052e-05/0.3264, allocations: 4 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.3264, allocations: 3.938 kB / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.361e-05/0.3265, allocations: 3.938 kB / 1.286 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.327, allocations: 123.3 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3271, allocations: 87.88 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.051e-05/0.3272, allocations: 4 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.3273, allocations: 39.91 kB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.3274, allocations: 31.97 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3274, allocations: 11.98 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.3274, allocations: 19.98 kB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.3275, allocations: 11.88 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.3275, allocations: 27.92 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.3277, allocations: 87.3 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3277, allocations: 0 / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3277, allocations: 0 / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3277, allocations: 4 kB / 1.286 GB, free: 9.559 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.0005451/0.3282, allocations: 300 kB / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.3283, allocations: 12.03 kB / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.516e-05/0.3283, allocations: 4.172 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.3283, allocations: 30.75 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.3283, allocations: 8.891 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.3285, allocations: 110.5 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3285, allocations: 4.375 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.3286, allocations: 4.375 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.87e-05/0.3287, allocations: 42 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.3287, allocations: 7.875 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3287, allocations: 15.98 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3287, allocations: 0 / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.161e-05/0.3287, allocations: 11.98 kB / 1.287 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.3291, allocations: 263.9 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.285e-05/0.3292, allocations: 22.58 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.3292, allocations: 16.91 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.3293, allocations: 4 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.3294, allocations: 67.28 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3294, allocations: 3.938 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002081/0.3296, allocations: 65.69 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.3297, allocations: 51.41 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.3298, allocations: 113.8 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.561e-05/0.3298, allocations: 33.64 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.3299, allocations: 88.14 kB / 1.288 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.3299, allocations: 15.89 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.33, allocations: 29.7 kB / 1.288 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3301, allocations: 314.8 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.703e-05/0.3302, allocations: 31.98 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.3303, allocations: 54.55 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.3304, allocations: 88.2 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.3304, allocations: 4 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002956/0.3307, allocations: 143.3 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.3308, allocations: 37.7 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3308, allocations: 0 / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3308, allocations: 4 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.603e-05/0.3308, allocations: 0 / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3308, allocations: 7.984 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.331, allocations: 28.03 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.3311, allocations: 4 kB / 1.288 GB, free: 7.316 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.0001119/0.3312, allocations: 123 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.3312, allocations: 7.953 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.3312, allocations: 4 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3312, allocations: 3.984 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3312, allocations: 0 / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3312, allocations: 0 / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.3314, allocations: 140.7 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3314, allocations: 0 / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.3314, allocations: 15.98 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3314, allocations: 0 / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.3314, allocations: 3.938 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3314, allocations: 0 / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3314, allocations: 0 / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.3315, allocations: 85.06 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.3315, allocations: 11.89 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3315, allocations: 3.984 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.659e-05/0.3316, allocations: 4 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.3316, allocations: 4.281 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3316, allocations: 0 / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.094e-05/0.3317, allocations: 91.27 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3317, allocations: 0 / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002069/0.3319, allocations: 12 kB / 1.289 GB, free: 6.742 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.0005201/0.3324, allocations: 0.6358 MB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.3326, allocations: 111.3 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3326, allocations: 0 / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.238e-05/0.3326, allocations: 12 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.3328, allocations: 11.98 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.3343, allocations: 1.396 MB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3346, allocations: 0.6807 MB / 1.292 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.3347, allocations: 3.984 kB / 1.292 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.3347, allocations: 15.44 kB / 1.292 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3347, allocations: 0 / 1.292 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.3571, allocations: 2.152 MB / 1.294 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.58, allocations: 16.27 kB / 1.294 GB, free: 1.711 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] [Calling os._exit(0), Time elapsed: 18.358576559985522] Failed to read output from testmodel.py, exit status != 0: 12.354628339002375 11.781349879 11.448523347 Calling exit ...