Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001848/0.001848, allocations: 97.88 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.002225/0.002225, allocations: 216.3 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.139/3.139, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_12_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.002122/0.002122, allocations: 62.03 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3377, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002533/0.3402, allocations: 0.5975 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.342, allocations: 1.136 MB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.3421, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.3421, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.3422, allocations: 7.938 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.3428, allocations: 121.1 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.3429, allocations: 79.89 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.343, allocations: 8 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.571e-05/0.3431, allocations: 43.83 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.3432, allocations: 31.91 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.3433, allocations: 8 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.196e-05/0.3434, allocations: 27.98 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.3434, allocations: 7.984 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.3434, allocations: 27.92 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.3437, allocations: 88 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3437, allocations: 0 / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3437, allocations: 0 / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3437, allocations: 0 / 1.329 GB, free: 15.33 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.0005774/0.3442, allocations: 300 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.3443, allocations: 12.03 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.845e-05/0.3443, allocations: 192 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.3443, allocations: 38.73 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.3444, allocations: 12.89 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.3445, allocations: 118.4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3445, allocations: 384 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.3446, allocations: 8.375 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.3447, allocations: 42 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3447, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3447, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3447, allocations: 3.938 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.3447, allocations: 11.98 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.3452, allocations: 248 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.451e-05/0.3452, allocations: 30.5 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.3453, allocations: 16.86 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.3453, allocations: 3.984 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.3455, allocations: 63.34 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.3455, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002084/0.3457, allocations: 73.62 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.3457, allocations: 51.41 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.562e-05/0.3458, allocations: 113.8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.3459, allocations: 29.7 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.3459, allocations: 88.12 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.3459, allocations: 15.89 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.346, allocations: 33.7 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3462, allocations: 318.8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3463, allocations: 61.67 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3464, allocations: 80.27 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3465, allocations: 88.2 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3465, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003009/0.3468, allocations: 181 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.3468, allocations: 33.7 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3468, allocations: 4.062 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3469, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.3469, allocations: 4 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3469, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.3471, allocations: 27.92 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.3472, allocations: 15.98 kB / 1.331 GB, free: 12.98 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.0001019/0.3473, allocations: 118.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.3473, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.3473, allocations: 16 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3473, allocations: 64 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3473, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3473, allocations: 3.984 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.3475, allocations: 136.6 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3475, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/0.3475, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3475, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3475, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3475, allocations: 3.938 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3475, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.3476, allocations: 101 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-06/0.3477, allocations: 3.938 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3477, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.3477, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.3477, allocations: 3.938 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3477, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.3478, allocations: 91.27 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3478, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002134/0.348, allocations: 16 kB / 1.331 GB, free: 12.41 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.0005145/0.3485, allocations: 0.626 MB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.3488, allocations: 149.3 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3488, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.3488, allocations: 12 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.349, allocations: 11.92 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.3507, allocations: 1.523 MB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.65e-05/0.3507, allocations: 63.34 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.582e-05/0.3507, allocations: 16.02 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.3508, allocations: 11.44 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.3508, allocations: 0 / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.3736, allocations: 2.272 MB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.97, allocations: 21.7 kB / 1.336 GB, free: 7.707 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.666349811013788] Failed to read output from testmodel.py, exit status != 0: 12.1433757400373 12.172898568 11.824012052 Calling exit ...