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.001804/0.001804, allocations: 113.8 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: 219.6 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 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.794/2.794, allocations: 476.7 MB / 0.7715 GB, free: 4.305 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.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.001999/0.001999, allocations: 70.05 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.294, allocations: 170 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001811/0.2958, allocations: 0.6139 MB / 1.285 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.2975, allocations: 1.157 MB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.2976, allocations: 0 / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/0.2976, allocations: 3.938 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.443e-05/0.2977, allocations: 3.938 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.2983, allocations: 113.5 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.2985, allocations: 95.81 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2986, allocations: 12 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.713e-05/0.2987, allocations: 35.91 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2989, allocations: 39.83 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.2989, allocations: 8 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.376e-05/0.299, allocations: 23.98 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.299, allocations: 0 / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.728e-05/0.2991, allocations: 31.91 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.2993, allocations: 87.31 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2993, allocations: 3.938 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2993, allocations: 0 / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.2993, allocations: 0 / 1.286 GB, free: 9.398 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.0006006/0.2999, allocations: 304 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.3, allocations: 8.031 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.217e-05/0.3, allocations: 4.188 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.3001, allocations: 34.75 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.3001, allocations: 8.891 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3003, allocations: 110.5 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3003, allocations: 4.375 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3003, allocations: 4.375 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.3004, allocations: 50 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3004, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3004, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3005, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.014e-05/0.3005, allocations: 15.92 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.301, allocations: 259.9 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.463e-05/0.3011, allocations: 34.5 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.3011, allocations: 12.86 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.3012, allocations: 4.062 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.3014, allocations: 67.27 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.3014, allocations: 4 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002507/0.3016, allocations: 61.69 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.3017, allocations: 51.41 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3018, allocations: 117.8 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.3018, allocations: 29.7 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.3019, allocations: 88.12 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.3019, allocations: 11.91 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/0.302, allocations: 29.7 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3022, allocations: 318.8 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.3022, allocations: 31.98 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.3023, allocations: 54.48 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.3025, allocations: 88.27 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3025, allocations: 0 / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002744/0.3027, allocations: 147.4 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.3028, allocations: 39.67 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3028, allocations: 4 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3028, allocations: 0 / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.3029, allocations: 7.922 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3029, allocations: 8.062 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.3031, allocations: 31.92 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.3031, allocations: 4 kB / 1.288 GB, free: 7.152 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: 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.0001238/0.3032, allocations: 121.7 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.3033, allocations: 4 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.3033, allocations: 7.984 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3033, allocations: 0 / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3033, allocations: 4 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3033, allocations: 0 / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.3035, allocations: 140.7 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3035, allocations: 0 / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.3035, allocations: 7.984 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3035, allocations: 0 / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.3035, allocations: 3.938 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3035, allocations: 0 / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3035, allocations: 0 / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3036, allocations: 96.95 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.3036, allocations: 0 / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.3036, allocations: 3.984 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.3037, allocations: 4 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.3037, allocations: 4 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.3037, allocations: 0 / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.086e-05/0.3038, allocations: 87.27 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3038, allocations: 0 / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002139/0.304, allocations: 16 kB / 1.289 GB, free: 6.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: 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.0004748/0.3044, allocations: 0.6319 MB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.3047, allocations: 107.4 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3047, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.3047, allocations: 16.36 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.305, allocations: 16.11 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.3066, allocations: 1.393 MB / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3069, allocations: 0.6808 MB / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.559e-05/0.3069, allocations: 7.969 kB / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.307, allocations: 11.44 kB / 1.292 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.307, allocations: 4 kB / 1.292 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.3366, allocations: 2.167 MB / 1.294 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.62, allocations: 10.23 kB / 1.294 GB, free: 1.543 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.298625846975483] Failed to read output from testmodel.py, exit status != 0: 12.27874741400592 11.802026569 11.499257486 Calling exit ...