Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.001329/0.001329, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.001498/0.001498, allocations: 219 kB / 23.04 MB, free: 5.074 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.8 MB, free: 8.004 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.244/3.244, allocations: 0.5003 GB / 0.8062 GB, free: 26.75 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.BooleanToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.003141/0.003141, allocations: 67.14 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3836, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002377/0.386, allocations: 0.605 MB / 1.346 GB, free: 15.87 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3877, allocations: 1.148 MB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.3877, allocations: 7.875 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.3878, allocations: 3.938 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-05/0.3878, allocations: 3.938 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.3884, allocations: 130 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.3885, allocations: 91.88 kB / 1.347 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.3886, allocations: 8 kB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.189e-05/0.3887, allocations: 35.91 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3888, allocations: 35.89 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.3889, allocations: 8 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.717e-05/0.3889, allocations: 23.98 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.3889, allocations: 3.938 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.967e-05/0.389, allocations: 35.91 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3892, allocations: 88.02 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3892, allocations: 0 / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3892, allocations: 0 / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.3892, allocations: 0 / 1.347 GB, free: 14.24 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.0005125/0.3897, allocations: 305.5 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3898, allocations: 8.031 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.693e-05/0.3898, allocations: 192 / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/0.3898, allocations: 34.75 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.3898, allocations: 8.891 kB / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.39, allocations: 110.5 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.39, allocations: 4.375 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.39, allocations: 4.375 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.3901, allocations: 53.92 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.3901, allocations: 0 / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.3901, allocations: 0 / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3901, allocations: 0 / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.54e-05/0.3902, allocations: 11.98 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.3906, allocations: 271.9 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.13e-05/0.3907, allocations: 34.5 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.3907, allocations: 12.92 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.3907, allocations: 0 / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.3909, allocations: 63.39 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3909, allocations: 0 / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002049/0.3911, allocations: 73.56 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.3911, allocations: 51.41 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3913, allocations: 113.8 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.3913, allocations: 25.7 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.3913, allocations: 92.08 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.3914, allocations: 11.89 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.3914, allocations: 29.7 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3916, allocations: 318.8 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/0.3917, allocations: 35.98 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.3918, allocations: 50.55 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.3919, allocations: 88.2 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3919, allocations: 0 / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002837/0.3922, allocations: 147.3 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/0.3922, allocations: 37.77 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3922, allocations: 4 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3922, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.688e-05/0.3923, allocations: 7.984 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3923, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.3925, allocations: 27.92 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.3925, allocations: 4 kB / 1.349 GB, free: 12 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: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.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.0001012/0.3926, allocations: 121.7 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.3926, allocations: 8 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.3927, allocations: 7.984 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3927, allocations: 0 / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3927, allocations: 0 / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.3927, allocations: 7.938 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.3928, allocations: 136.6 kB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3928, allocations: 7.984 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.3928, allocations: 0 / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3928, allocations: 0 / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.3928, allocations: 0 / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3928, allocations: 8 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3928, allocations: 64 / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.393, allocations: 89.02 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.393, allocations: 288 / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.393, allocations: 11.92 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.393, allocations: 4 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.393, allocations: 3.984 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3931, allocations: 0 / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.657e-05/0.3931, allocations: 99.25 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3931, allocations: 0 / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002289/0.3933, allocations: 19.94 kB / 1.35 GB, free: 11.41 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: 3 ($whenCondition1,$whenCondition2,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.0004575/0.3938, allocations: 0.6202 MB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.394, allocations: 115.4 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.394, allocations: 0 / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.3941, allocations: 19.92 kB / 1.351 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.3943, allocations: 4.625 kB / 1.351 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.3959, allocations: 1.395 MB / 1.352 GB, free: 9.117 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.3962, allocations: 0.6885 MB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.3962, allocations: 0 / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.3962, allocations: 15.44 kB / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of SimCode: time 5.31e-07/0.3962, allocations: 0 / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.4195, allocations: 2.163 MB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.71, allocations: 9.375 kB / 1.355 GB, free: 6.375 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.61987518897513] Failed to read output from testmodel.py, exit status != 0: 11.884286239976063 11.914626167 11.519224314 Calling exit ...