Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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: 110.1 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.002416/0.002416, allocations: 217 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.3/3.3, allocations: 0.5003 GB / 0.8062 GB, free: 26.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_latest_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.002902/0.002902, allocations: 67.22 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.364, allocations: 179 MB / 1.345 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002831/0.3668, allocations: 0.6047 MB / 1.346 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.3691, allocations: 1.144 MB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.3692, allocations: 0 / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.3692, allocations: 4 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.381e-05/0.3693, allocations: 11.92 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.37, allocations: 119.3 kB / 1.347 GB, free: 14.6 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.3702, allocations: 99.77 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3703, allocations: 7.984 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3704, allocations: 35.97 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.3706, allocations: 31.89 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.3706, allocations: 8 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.43e-05/0.3707, allocations: 24 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.3707, allocations: 3.984 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.664e-05/0.3708, allocations: 39.84 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.371, allocations: 88 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.371, allocations: 0 / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.214e-06/0.371, allocations: 3.938 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.3711, allocations: 0 / 1.347 GB, free: 14.27 MB / 1.045 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.0005764/0.3716, allocations: 303.9 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3717, allocations: 8.031 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/0.3717, allocations: 4.188 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.3717, allocations: 34.75 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.3718, allocations: 4.938 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3719, allocations: 114.4 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.3719, allocations: 8.375 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.372, allocations: 4.375 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.3721, allocations: 46 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3721, allocations: 0 / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.3721, allocations: 0 / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3721, allocations: 0 / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.018e-05/0.3722, allocations: 11.98 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.3728, allocations: 275.8 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.3728, allocations: 22.58 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.3729, allocations: 12.92 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.3729, allocations: 0 / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.3731, allocations: 63.39 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.3731, allocations: 0 / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002883/0.3734, allocations: 73.61 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.3735, allocations: 51.41 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.3736, allocations: 113.8 kB / 1.349 GB, free: 12.96 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.3737, allocations: 25.7 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.3737, allocations: 88.14 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.3738, allocations: 7.938 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.3738, allocations: 33.7 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.3741, allocations: 326.8 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.3742, allocations: 27.98 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.3744, allocations: 50.81 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.3746, allocations: 88.2 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3746, allocations: 4.062 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004436/0.375, allocations: 151.3 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/0.3751, allocations: 41.69 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3751, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3751, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.607e-05/0.3751, allocations: 4 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3752, allocations: 4.062 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.3754, allocations: 27.92 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.3755, allocations: 8.062 kB / 1.349 GB, free: 12.03 MB / 1.045 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.0001423/0.3756, allocations: 130.5 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.3756, allocations: 4 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.3756, allocations: 8 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3756, allocations: 0 / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3757, allocations: 4 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3757, allocations: 0 / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.3758, allocations: 136.7 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3758, allocations: 0 / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.006e-05/0.3758, allocations: 4 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.3759, allocations: 0 / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3759, allocations: 0 / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3759, allocations: 4 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3759, allocations: 0 / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.3761, allocations: 96.94 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.3761, allocations: 3.938 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.3761, allocations: 4 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.625e-05/0.3761, allocations: 4 kB / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.3761, allocations: 0 / 1.35 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.3762, allocations: 7.984 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.296e-05/0.3762, allocations: 83.28 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3762, allocations: 0 / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003641/0.3766, allocations: 16 kB / 1.35 GB, free: 11.45 MB / 1.045 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.0006102/0.3772, allocations: 0.6244 MB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.3775, allocations: 115.3 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3775, allocations: 3.938 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.565e-05/0.3776, allocations: 15.98 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.3778, allocations: 9.719 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.3801, allocations: 1.404 MB / 1.352 GB, free: 9.141 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.3804, allocations: 0.6807 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.3805, allocations: 0 / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.3805, allocations: 15.53 kB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of SimCode: time 7.11e-07/0.3805, allocations: 3.938 kB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.4135, allocations: 2.156 MB / 1.355 GB, free: 6.414 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.83, allocations: 15.05 kB / 1.355 GB, free: 6.406 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.656712765980046] Failed to read output from testmodel.py, exit status != 0: 12.001682154019363 12.028756186 11.652385426 Calling exit ...