Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001809/0.001809, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.00207/0.00207, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.588/1.588, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.894/2.894, allocations: 476.7 MB / 0.7678 GB, free: 9.449 MB / 0.6075 GB " [Timeout remaining time 176] 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.BooleanToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_11_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.002057/0.002057, allocations: 63.91 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8991/0.9011, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001876/0.903, allocations: 0.6184 MB / 1.28 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.9047, allocations: 1.143 MB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.952e-05/0.9047, allocations: 0 / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.9047, allocations: 0.5156 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.011e-05/0.9048, allocations: 10.03 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.9053, allocations: 136.5 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.9055, allocations: 88.14 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.832e-05/0.9056, allocations: 6.859 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.017e-05/0.9057, allocations: 43.19 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.881e-05/0.9058, allocations: 31.8 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.9058, allocations: 7.781 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.091e-05/0.9059, allocations: 21.8 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.9059, allocations: 6.703 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.906, allocations: 34.78 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.9062, allocations: 84.89 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9062, allocations: 1.844 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9062, allocations: 0 / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.9062, allocations: 0 / 1.281 GB, free: 10.3 MB / 0.9981 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.0005496/0.9067, allocations: 381.7 kB / 1.281 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.9068, allocations: 10 kB / 1.281 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.396e-05/0.9068, allocations: 192 / 1.281 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.9068, allocations: 36.33 kB / 1.281 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.9069, allocations: 9.969 kB / 1.282 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.907, allocations: 168 kB / 1.282 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.907, allocations: 2.281 kB / 1.282 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.9071, allocations: 6.656 kB / 1.282 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.9072, allocations: 46.95 kB / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.9072, allocations: 0.6562 kB / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.9072, allocations: 0 / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.9072, allocations: 1.062 kB / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.331e-05/0.9072, allocations: 11.44 kB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004447/0.9077, allocations: 290.5 kB / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.407e-05/0.9078, allocations: 32.97 kB / 1.282 GB, free: 9.285 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.9078, allocations: 12.88 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.9078, allocations: 0.5 kB / 1.282 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.908, allocations: 59.06 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.908, allocations: 0.5938 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002399/0.9082, allocations: 77.16 kB / 1.282 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.9083, allocations: 52.58 kB / 1.282 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.9084, allocations: 106.6 kB / 1.282 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.9084, allocations: 36.08 kB / 1.282 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.9085, allocations: 87.92 kB / 1.282 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.9085, allocations: 14.39 kB / 1.282 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.9086, allocations: 29.77 kB / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.9087, allocations: 322.4 kB / 1.283 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.692e-05/0.9088, allocations: 32.17 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.909, allocations: 54.61 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.9091, allocations: 93.48 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.9091, allocations: 0.5625 kB / 1.283 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003642/0.9095, allocations: 150.9 kB / 1.283 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.9095, allocations: 35.5 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.9095, allocations: 1.094 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.9096, allocations: 1.469 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.9096, allocations: 7.078 kB / 1.283 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.9096, allocations: 1.219 kB / 1.283 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.9098, allocations: 23.7 kB / 1.283 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.9099, allocations: 11.08 kB / 1.283 GB, free: 8.266 MB / 0.9981 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.0001016/0.91, allocations: 120.7 kB / 1.283 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.91, allocations: 5.453 kB / 1.283 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.978e-05/0.91, allocations: 8.703 kB / 1.283 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.91, allocations: 5.281 kB / 1.283 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.91, allocations: 0.7031 kB / 1.283 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.91, allocations: 1.125 kB / 1.283 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.9102, allocations: 163.2 kB / 1.283 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9102, allocations: 0.5625 kB / 1.283 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.9102, allocations: 3.328 kB / 1.283 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9102, allocations: 0 / 1.283 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.9102, allocations: 1.984 kB / 1.283 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9102, allocations: 0 / 1.283 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.9102, allocations: 1.094 kB / 1.283 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.9104, allocations: 91.67 kB / 1.284 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.9104, allocations: 83.83 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.9104, allocations: 0.7031 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.567e-05/0.9104, allocations: 1.219 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.9105, allocations: 6.516 kB / 1.284 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.9105, allocations: 6.031 kB / 1.284 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.71e-05/0.9105, allocations: 86.88 kB / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9105, allocations: 0 / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002221/0.9108, allocations: 20.05 kB / 1.284 GB, free: 7.656 MB / 0.9981 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.0004864/0.9112, allocations: 0.6291 MB / 1.284 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.9115, allocations: 112.3 kB / 1.284 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9115, allocations: 1.062 kB / 1.285 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.9115, allocations: 13 kB / 1.285 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.9117, allocations: 24.17 kB / 1.285 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.9134, allocations: 1.402 MB / 1.286 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.9137, allocations: 0.6803 MB / 1.287 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.9138, allocations: 2.078 kB / 1.287 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.9138, allocations: 19.02 kB / 1.287 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.9138, allocations: 1.344 kB / 1.287 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.9346, allocations: 2.058 MB / 1.289 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.597/9.532, allocations: 19.3 kB / 1.289 GB, free: 4.531 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.855156982957851] Failed to read output from testmodel.py, exit status != 0: 9.661556828999892 9.687153704 8.775604184 Calling exit ...