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.001366/0.001366, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001637/0.001637, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.872/2.872, allocations: 476.8 MB / 0.7715 GB, free: 3.898 MB / 0.6231 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.002071/0.002071, allocations: 65.23 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.344, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00199/0.346, allocations: 0.6041 MB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.3476, allocations: 1.13 MB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.3476, allocations: 0 / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.3477, allocations: 0 / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.353e-05/0.3477, allocations: 7.922 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.3482, allocations: 122.5 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.3484, allocations: 95.81 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.459e-05/0.3484, allocations: 9.344 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.3485, allocations: 43.89 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3486, allocations: 27.91 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.3487, allocations: 8 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.651e-05/0.3487, allocations: 19.98 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.3487, allocations: 4 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.3488, allocations: 35.89 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.349, allocations: 91.31 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.349, allocations: 0 / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.349, allocations: 0 / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.349, allocations: 0 / 1.286 GB, free: 8.438 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.0004615/0.3494, allocations: 300 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3495, allocations: 12.02 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.156e-05/0.3495, allocations: 192 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.3495, allocations: 34.75 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.3496, allocations: 4.938 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3497, allocations: 114.4 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.3497, allocations: 4.375 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.3497, allocations: 8.375 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/0.3498, allocations: 45.81 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3498, allocations: 0 / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.3498, allocations: 3.938 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3498, allocations: 0 / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.3499, allocations: 11.98 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.3503, allocations: 247.9 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.052e-05/0.3503, allocations: 30.56 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.3504, allocations: 12.92 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.3504, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.3505, allocations: 63.39 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3505, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002142/0.3508, allocations: 73.58 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3508, allocations: 51.41 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3509, allocations: 109.8 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.3509, allocations: 29.7 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.351, allocations: 92.12 kB / 1.287 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.351, allocations: 11.89 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/0.3511, allocations: 29.7 kB / 1.287 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3513, allocations: 318.8 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.3514, allocations: 69.67 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3515, allocations: 80.27 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.3516, allocations: 92.14 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3516, allocations: 0 / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003032/0.3519, allocations: 181 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.352, allocations: 39.89 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.352, allocations: 0 / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.352, allocations: 0 / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.011e-05/0.352, allocations: 4 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.352, allocations: 4.062 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3522, allocations: 27.95 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.3523, allocations: 4 kB / 1.288 GB, free: 6.117 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.0001086/0.3524, allocations: 125.7 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.3524, allocations: 3.953 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.3524, allocations: 4 kB / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3524, allocations: 4 kB / 1.288 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3524, allocations: 3.984 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3524, allocations: 4 kB / 1.288 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.3525, allocations: 144.6 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3525, allocations: 240 / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-05/0.3526, allocations: 0 / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3526, allocations: 0 / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3526, allocations: 4 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3526, allocations: 0 / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3526, allocations: 3.984 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.3527, allocations: 88.98 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.3527, allocations: 7.953 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.3527, allocations: 4.062 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.502e-05/0.3527, allocations: 4 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.3528, allocations: 8 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3528, allocations: 3.984 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.3528, allocations: 83.66 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3528, allocations: 0 / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002132/0.353, allocations: 20 kB / 1.289 GB, free: 5.535 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.0004486/0.3535, allocations: 0.6202 MB / 1.289 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.3537, allocations: 145 kB / 1.289 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3537, allocations: 128 / 1.289 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/0.3538, allocations: 16 kB / 1.289 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.354, allocations: 15.92 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.3556, allocations: 1.516 MB / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.32e-05/0.3557, allocations: 63.34 kB / 1.291 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.3557, allocations: 3.984 kB / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.3558, allocations: 15.44 kB / 1.291 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3558, allocations: 0 / 1.291 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.3778, allocations: 2.26 MB / 1.293 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.71, allocations: 15.94 kB / 1.293 GB, free: 0.8477 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.529522559023462] Failed to read output from testmodel.py, exit status != 0: 12.422133583924733 11.910859164 11.558680476 Calling exit ...