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.001795/0.001795, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002538/0.002538, allocations: 219.8 kB / 23.03 MB, free: 4.941 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.373/3.373, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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.002031/0.002031, allocations: 62.66 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3707, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00189/0.3726, allocations: 0.601 MB / 1.346 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.3741, allocations: 1.128 MB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.3741, allocations: 0 / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.3742, allocations: 3.938 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.3742, allocations: 11.94 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.3747, allocations: 119.8 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3748, allocations: 99.81 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.801e-05/0.3749, allocations: 0 / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.992e-05/0.375, allocations: 35.97 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.313e-05/0.3751, allocations: 35.89 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.3751, allocations: 8 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-05/0.3752, allocations: 19.98 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.3752, allocations: 12 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.672e-05/0.3753, allocations: 27.86 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.3754, allocations: 88 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3754, allocations: 0 / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3754, allocations: 0 / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3754, allocations: 0 / 1.347 GB, free: 13.79 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.0004679/0.3759, allocations: 303.9 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.376, allocations: 12.03 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.89e-05/0.376, allocations: 192 / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.757e-05/0.376, allocations: 34.73 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.376, allocations: 4.938 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.999e-05/0.3761, allocations: 114.5 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.3762, allocations: 4.375 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3762, allocations: 8.312 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.083e-05/0.3763, allocations: 42 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3763, allocations: 3.938 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3763, allocations: 0 / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3763, allocations: 4 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.3763, allocations: 8 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.3767, allocations: 259.9 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.131e-05/0.3768, allocations: 18.58 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.3768, allocations: 20.91 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.3768, allocations: 3.938 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.377, allocations: 67.33 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.377, allocations: 0 / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0001953/0.3772, allocations: 61.69 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.3772, allocations: 55.41 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3773, allocations: 114 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.3773, allocations: 25.7 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.3774, allocations: 92.08 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.3774, allocations: 7.938 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-05/0.3775, allocations: 37.7 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3776, allocations: 318.8 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.969e-05/0.3777, allocations: 57.69 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3778, allocations: 88.31 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.378, allocations: 84.33 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.378, allocations: 3.938 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002952/0.3783, allocations: 177.2 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.3783, allocations: 41.69 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3783, allocations: 4.062 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3783, allocations: 4 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.3784, allocations: 0 / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3784, allocations: 4 kB / 1.349 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.3786, allocations: 31.91 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.3786, allocations: 7.984 kB / 1.349 GB, free: 11.45 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.0001056/0.3787, allocations: 117.8 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.3787, allocations: 4 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.3787, allocations: 8 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3787, allocations: 3.938 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3787, allocations: 0 / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3787, allocations: 0 / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.3789, allocations: 144.7 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3789, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.726e-05/0.3789, allocations: 4 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3789, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.3789, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3789, allocations: 3.938 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3789, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.379, allocations: 89.02 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.3791, allocations: 11.92 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3791, allocations: 11.94 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/0.3791, allocations: 0 / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.3791, allocations: 0 / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.3791, allocations: 4 kB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.3792, allocations: 87.27 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3792, allocations: 0 / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002114/0.3794, allocations: 16 kB / 1.35 GB, free: 10.87 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.0004623/0.3799, allocations: 0.6279 MB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.3801, allocations: 145.1 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3801, allocations: 3.938 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.3801, allocations: 8 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.3803, allocations: 19.69 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.3819, allocations: 1.51 MB / 1.352 GB, free: 8.391 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.16e-05/0.382, allocations: 67.34 kB / 1.352 GB, free: 8.305 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.382, allocations: 8.125 kB / 1.352 GB, free: 8.297 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.3821, allocations: 19.36 kB / 1.352 GB, free: 8.277 MB / 1.045 GB Notification: Performance of SimCode: time 3.71e-07/0.3821, allocations: 3.938 kB / 1.352 GB, free: 8.273 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.4046, allocations: 2.269 MB / 1.354 GB, free: 6.172 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.8, allocations: 1.547 kB / 1.354 GB, free: 6.172 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.78227801504545] Failed to read output from testmodel.py, exit status != 0: 11.966579935979098 11.996016277 11.615401951 Calling exit ...