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.001785/0.001785, allocations: 116.1 kB / 17.16 MB, free: 6 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.002528/0.002528, allocations: 209.5 kB / 20.13 MB, free: 3.051 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.111/3.111, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 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.002042/0.002042, allocations: 71.89 kB / 1.165 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 178.9 MB / 1.34 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001891/1.022, allocations: 0.6216 MB / 1.341 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001607/1.024, allocations: 1.145 MB / 1.342 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.403e-05/1.024, allocations: 0.8125 kB / 1.342 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/1.024, allocations: 3.938 kB / 1.342 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/1.024, allocations: 13.8 kB / 1.342 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/1.024, allocations: 118.4 kB / 1.342 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/1.024, allocations: 90.8 kB / 1.342 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/1.025, allocations: 10.59 kB / 1.342 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.963e-05/1.025, allocations: 36.8 kB / 1.342 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/1.025, allocations: 33.48 kB / 1.342 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/1.025, allocations: 7.781 kB / 1.342 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.83e-05/1.025, allocations: 17.28 kB / 1.342 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/1.025, allocations: 18.12 kB / 1.342 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/1.025, allocations: 25.42 kB / 1.342 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/1.025, allocations: 89.98 kB / 1.342 GB, free: 12.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.025, allocations: 0 / 1.342 GB, free: 12.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.923e-06/1.025, allocations: 0 / 1.342 GB, free: 12.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.025, allocations: 1.125 kB / 1.342 GB, free: 12.07 MB / 1.029 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.0006251/1.026, allocations: 380.2 kB / 1.343 GB, free: 11.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.026, allocations: 9.531 kB / 1.343 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.31e-05/1.026, allocations: 1.25 kB / 1.343 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.042e-05/1.026, allocations: 34.69 kB / 1.343 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/1.026, allocations: 13.5 kB / 1.343 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/1.026, allocations: 162.7 kB / 1.343 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/1.026, allocations: 2.594 kB / 1.343 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/1.026, allocations: 8.906 kB / 1.343 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/1.026, allocations: 48.38 kB / 1.343 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.026, allocations: 0 / 1.343 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/1.026, allocations: 0 / 1.343 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.026, allocations: 1.188 kB / 1.343 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/1.026, allocations: 12.8 kB / 1.343 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/1.027, allocations: 295.7 kB / 1.343 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/1.027, allocations: 24.73 kB / 1.343 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/1.027, allocations: 21.08 kB / 1.343 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/1.027, allocations: 0 / 1.343 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/1.027, allocations: 63.2 kB / 1.343 GB, free: 10.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/1.027, allocations: 0 / 1.343 GB, free: 10.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002146/1.027, allocations: 67.25 kB / 1.343 GB, free: 10.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/1.027, allocations: 56.81 kB / 1.343 GB, free: 10.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/1.027, allocations: 107.3 kB / 1.344 GB, free: 10.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/1.027, allocations: 34.8 kB / 1.344 GB, free: 10.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/1.028, allocations: 90.92 kB / 1.344 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/1.028, allocations: 18.44 kB / 1.344 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/1.028, allocations: 29.2 kB / 1.344 GB, free: 10.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.028, allocations: 315.9 kB / 1.344 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/1.028, allocations: 32.64 kB / 1.344 GB, free: 10.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/1.028, allocations: 52.98 kB / 1.344 GB, free: 10.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/1.028, allocations: 86.47 kB / 1.344 GB, free: 10.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.028, allocations: 3.984 kB / 1.344 GB, free: 10.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002903/1.028, allocations: 150.4 kB / 1.344 GB, free: 9.973 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/1.028, allocations: 32.89 kB / 1.344 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/1.028, allocations: 0.9688 kB / 1.344 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.028, allocations: 1.375 kB / 1.344 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/1.029, allocations: 2.281 kB / 1.344 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/1.029, allocations: 5.438 kB / 1.344 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/1.029, allocations: 35.53 kB / 1.344 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/1.029, allocations: 9.219 kB / 1.344 GB, free: 9.914 MB / 1.029 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.0001144/1.029, allocations: 118.2 kB / 1.345 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/1.029, allocations: 2.25 kB / 1.345 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/1.029, allocations: 5.062 kB / 1.345 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.029, allocations: 1.438 kB / 1.345 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/1.029, allocations: 7.984 kB / 1.345 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.029, allocations: 0 / 1.345 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/1.029, allocations: 161.2 kB / 1.345 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.029, allocations: 0 / 1.345 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/1.029, allocations: 10.48 kB / 1.345 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.029, allocations: 0 / 1.345 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/1.029, allocations: 5.25 kB / 1.345 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.029, allocations: 0 / 1.345 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.029, allocations: 1.375 kB / 1.345 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/1.029, allocations: 92.67 kB / 1.345 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/1.029, allocations: 78.61 kB / 1.345 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/1.029, allocations: 5.234 kB / 1.345 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/1.029, allocations: 3.938 kB / 1.345 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/1.029, allocations: 6.531 kB / 1.345 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/1.029, allocations: 5.25 kB / 1.345 GB, free: 9.363 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.934e-05/1.03, allocations: 84.77 kB / 1.345 GB, free: 9.285 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/1.03, allocations: 0 / 1.345 GB, free: 9.285 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002442/1.03, allocations: 18.78 kB / 1.345 GB, free: 9.281 MB / 1.029 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.000478/1.03, allocations: 0.6275 MB / 1.346 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002528/1.03, allocations: 116.4 kB / 1.346 GB, free: 8.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.03, allocations: 0 / 1.346 GB, free: 8.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.234e-05/1.031, allocations: 8.375 kB / 1.346 GB, free: 8.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/1.031, allocations: 23.3 kB / 1.346 GB, free: 8.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/1.032, allocations: 1.392 MB / 1.347 GB, free: 7.246 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/1.033, allocations: 0.6791 MB / 1.348 GB, free: 6.547 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.344e-05/1.033, allocations: 6.141 kB / 1.348 GB, free: 6.543 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/1.033, allocations: 17.88 kB / 1.348 GB, free: 6.531 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/1.033, allocations: 0 / 1.348 GB, free: 6.531 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/1.054, allocations: 2.077 MB / 1.35 GB, free: 5.457 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/9.402, allocations: 15.16 kB / 1.35 GB, free: 5.445 MB / 1.029 GB " [Timeout remaining time 290] (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: 16.06315150798764] Failed to read output from testmodel.py, exit status != 0: 9.532789237971883 9.549241253 8.520670464 Calling exit ...