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.001506/0.001506, allocations: 97.92 kB / 19.73 MB, free: 1.992 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.002114/0.002114, allocations: 213.7 kB / 23.02 MB, free: 4.426 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.256/3.256, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 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.001979/0.001979, allocations: 70.05 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3449, allocations: 179 MB / 1.345 GB, free: 15.99 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001982/0.3469, allocations: 0.609 MB / 1.346 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3485, allocations: 1.124 MB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.3485, allocations: 0 / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.3486, allocations: 3.938 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.3486, allocations: 11.88 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.3491, allocations: 129.4 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.3493, allocations: 87.89 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.944e-05/0.3494, allocations: 7.984 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.3494, allocations: 35.92 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.386e-05/0.3495, allocations: 31.89 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.3496, allocations: 8 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.3496, allocations: 23.98 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.3496, allocations: 3.938 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.3497, allocations: 39.91 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.3499, allocations: 84.02 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3499, allocations: 0 / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3499, allocations: 0 / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3499, allocations: 0 / 1.347 GB, free: 13.79 MB / 1.045 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.0004646/0.3504, allocations: 305.3 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3504, allocations: 8.031 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.719e-05/0.3504, allocations: 8.188 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.3505, allocations: 30.75 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.3505, allocations: 4.938 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.3506, allocations: 114.5 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3506, allocations: 4.375 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.3506, allocations: 12.31 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.778e-05/0.3507, allocations: 42 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3507, allocations: 0 / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3508, allocations: 3.984 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3508, allocations: 0 / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.757e-05/0.3508, allocations: 15.98 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.3512, allocations: 247.9 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.327e-05/0.3513, allocations: 30.5 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.3513, allocations: 16.92 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.3513, allocations: 0 / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.3515, allocations: 59.39 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.3515, allocations: 0 / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002205/0.3517, allocations: 69.62 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.3518, allocations: 51.41 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/0.3519, allocations: 117.8 kB / 1.348 GB, free: 12.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.3519, allocations: 25.7 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.352, allocations: 88.12 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.352, allocations: 7.953 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.352, allocations: 29.7 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3522, allocations: 330.7 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3523, allocations: 61.67 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3524, allocations: 76.27 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.3525, allocations: 96.2 kB / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3525, allocations: 0 / 1.349 GB, free: 11.74 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002985/0.3528, allocations: 184.9 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.3529, allocations: 35.73 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3529, allocations: 0 / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3529, allocations: 4.062 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.3529, allocations: 4 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.353, allocations: 3.984 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.3531, allocations: 27.97 kB / 1.349 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.3532, allocations: 8 kB / 1.349 GB, free: 11.45 MB / 1.045 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 9.586e-05/0.3533, allocations: 117.8 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.3533, allocations: 0 / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.3533, allocations: 15.92 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3533, allocations: 4 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3533, allocations: 0 / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3533, allocations: 0 / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.3534, allocations: 140.6 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3534, allocations: 0 / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.3535, allocations: 8 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3535, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3535, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3535, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3535, allocations: 0 / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.3536, allocations: 93 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-06/0.3536, allocations: 4 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3536, allocations: 0 / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.897e-05/0.3537, allocations: 8 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.3537, allocations: 8.266 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3537, allocations: 0 / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.3537, allocations: 87.61 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3537, allocations: 0 / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002181/0.3539, allocations: 20 kB / 1.35 GB, free: 10.88 MB / 1.045 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.0004715/0.3544, allocations: 0.6202 MB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3547, allocations: 153 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3547, allocations: 0 / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.3547, allocations: 15.94 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.3549, allocations: 11.92 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.3566, allocations: 1.525 MB / 1.352 GB, free: 8.383 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.14e-05/0.3567, allocations: 67.33 kB / 1.352 GB, free: 8.297 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.3567, allocations: 0 / 1.352 GB, free: 8.297 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.3567, allocations: 19.56 kB / 1.352 GB, free: 8.277 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3567, allocations: 0 / 1.352 GB, free: 8.277 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.3897, allocations: 2.267 MB / 1.354 GB, free: 6.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.79, allocations: 7.125 kB / 1.354 GB, free: 6.176 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.65638291090727] Failed to read output from testmodel.py, exit status != 0: 11.96138116705697 11.977540865 11.624498818 Calling exit ...