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.001596/0.001596, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002155/0.002155, allocations: 220.1 kB / 23.03 MB, free: 4.922 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.84/2.84, allocations: 476.8 MB / 0.7715 GB, free: 3.895 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.002007/0.002007, allocations: 66.69 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3351, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002016/0.3371, allocations: 0.5886 MB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3388, allocations: 1.137 MB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.3389, allocations: 0 / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.3389, allocations: 3.938 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.339, allocations: 11.92 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.3395, allocations: 114.8 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.3397, allocations: 95.81 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3398, allocations: 5.406 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.175e-05/0.3399, allocations: 35.92 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.34, allocations: 43.81 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.3401, allocations: 8 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.844e-05/0.3401, allocations: 19.98 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.3402, allocations: 4 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.837e-05/0.3402, allocations: 27.92 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.3404, allocations: 91.3 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3404, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3404, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.3404, allocations: 0 / 1.286 GB, free: 8.496 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.0005199/0.3409, allocations: 303.9 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.341, allocations: 8.031 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.22e-05/0.341, allocations: 192 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/0.341, allocations: 34.75 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.3411, allocations: 8.891 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3412, allocations: 118.5 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.3412, allocations: 12.36 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3413, allocations: 8.375 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.861e-05/0.3414, allocations: 42 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3414, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3414, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3414, allocations: 3.938 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.47e-05/0.3414, allocations: 11.94 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.3419, allocations: 252 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.833e-05/0.3419, allocations: 22.58 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.3419, allocations: 16.92 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.342, allocations: 0 / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.3421, allocations: 63.33 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3421, allocations: 0 / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.00021/0.3423, allocations: 77.62 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3424, allocations: 51.41 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.3425, allocations: 105.8 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.3425, allocations: 29.7 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.3426, allocations: 92.08 kB / 1.287 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.3426, allocations: 3.953 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.3426, allocations: 29.7 kB / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.3428, allocations: 330.8 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3429, allocations: 57.69 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.343, allocations: 84.19 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.3432, allocations: 84.27 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3432, allocations: 0 / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003029/0.3435, allocations: 181 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.3435, allocations: 41.69 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3435, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3436, allocations: 4.062 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.568e-05/0.3436, allocations: 7.938 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3436, allocations: 0 / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3438, allocations: 23.97 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3438, allocations: 4 kB / 1.288 GB, free: 6.168 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.0001364/0.344, allocations: 127.1 kB / 1.288 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.344, allocations: 3.953 kB / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.344, allocations: 4 kB / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.344, allocations: 8 kB / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.344, allocations: 0 / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.344, allocations: 0 / 1.288 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.3442, allocations: 144.7 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3442, allocations: 3.938 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.3442, allocations: 0 / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3442, allocations: 4 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3442, allocations: 3.984 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3442, allocations: 0 / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3442, allocations: 0 / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3443, allocations: 89.22 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.3444, allocations: 19.89 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3444, allocations: 0 / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.758e-05/0.3444, allocations: 3.984 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.3444, allocations: 4 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3444, allocations: 0 / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.316e-05/0.3445, allocations: 91.27 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3445, allocations: 0 / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002114/0.3447, allocations: 12 kB / 1.289 GB, free: 5.586 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.0005476/0.3452, allocations: 0.6318 MB / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.3455, allocations: 141.1 kB / 1.289 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3455, allocations: 0 / 1.289 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.3456, allocations: 15.92 kB / 1.289 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3458, allocations: 10.19 kB / 1.289 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.3475, allocations: 1.513 MB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.405e-05/0.3476, allocations: 63.34 kB / 1.291 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.112e-05/0.3476, allocations: 0 / 1.291 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.3476, allocations: 19.56 kB / 1.291 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3476, allocations: 0 / 1.291 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.3712, allocations: 2.268 MB / 1.293 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.92, allocations: 8.062 kB / 1.293 GB, free: 0.9062 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.711874607019126] Failed to read output from testmodel.py, exit status != 0: 12.661012000055052 12.114188705 11.768231442 Calling exit ...