Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009523/0.0009525, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003151, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8402, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.0008735/0.8412, allocations: 333.8 kB / 0.9542 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.8426, allocations: 1.09 MB / 0.9552 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.8427, allocations: 1.438 kB / 0.9552 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.8427, allocations: 0 / 0.9552 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.8428, allocations: 3.938 kB / 0.9553 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.8432, allocations: 105.1 kB / 0.9554 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.8433, allocations: 75.56 kB / 0.9554 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.8434, allocations: 6.859 kB / 0.9554 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.389e-05/0.8435, allocations: 33.45 kB / 0.9555 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.503e-05/0.8436, allocations: 17.78 kB / 0.9555 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.8436, allocations: 4.562 kB / 0.9555 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.004e-05/0.8437, allocations: 22.45 kB / 0.9555 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.8437, allocations: 6.016 kB / 0.9555 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.8438, allocations: 31.55 kB / 0.9555 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.8439, allocations: 61.81 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.8439, allocations: 0 / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8439, allocations: 1.156 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.8439, allocations: 0 / 0.9556 GB, free: 6.746 MB / 0.7169 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.0003838/0.8443, allocations: 367.2 kB / 0.956 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.8444, allocations: 8.812 kB / 0.956 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.8444, allocations: 32.12 kB / 0.956 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.8445, allocations: 7.766 kB / 0.956 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.01e-05/0.8445, allocations: 172.1 kB / 0.9562 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.8446, allocations: 10.38 kB / 0.9562 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.8446, allocations: 9.828 kB / 0.9562 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.562e-05/0.8447, allocations: 34.11 kB / 0.9562 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.8447, allocations: 1.125 kB / 0.9562 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.8447, allocations: 7.984 kB / 0.9562 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.8447, allocations: 5.156 kB / 0.9562 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.088e-05/0.8448, allocations: 8.797 kB / 0.9562 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.8452, allocations: 296.4 kB / 0.9565 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.536e-05/0.8452, allocations: 28.98 kB / 0.9565 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.8452, allocations: 12.11 kB / 0.9566 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.8453, allocations: 1.062 kB / 0.9566 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.8454, allocations: 59.02 kB / 0.9566 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.8454, allocations: 0 / 0.9566 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001996/0.8456, allocations: 74.67 kB / 0.9567 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.8457, allocations: 64.7 kB / 0.9567 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.8457, allocations: 107 kB / 0.9569 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.8458, allocations: 27.2 kB / 0.9569 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.8458, allocations: 87.61 kB / 0.957 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.8458, allocations: 5.125 kB / 0.957 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.8459, allocations: 2.156 kB / 0.957 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.851e-05/0.8459, allocations: 316.4 kB / 0.9573 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.846, allocations: 31.44 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.441e-05/0.8461, allocations: 52.94 kB / 0.9573 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.848e-05/0.8461, allocations: 58.25 kB / 0.9574 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8462, allocations: 0 / 0.9574 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002244/0.8464, allocations: 149 kB / 0.9575 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.8464, allocations: 36.52 kB / 0.9576 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.8464, allocations: 1.094 kB / 0.9576 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.8465, allocations: 9.016 kB / 0.9576 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.524e-05/0.8465, allocations: 14.27 kB / 0.9576 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8465, allocations: 1.188 kB / 0.9576 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.8467, allocations: 37.69 kB / 0.9576 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.8468, allocations: 5.438 kB / 0.9576 GB, free: 4.664 MB / 0.7169 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,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.618e-05/0.8468, allocations: 118.4 kB / 0.9578 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.8469, allocations: 6.141 kB / 0.9578 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.8469, allocations: 4.938 kB / 0.9578 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.8469, allocations: 5.547 kB / 0.9578 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8469, allocations: 0 / 0.9578 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.8469, allocations: 0 / 0.9578 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.651e-05/0.847, allocations: 164.2 kB / 0.9579 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.847, allocations: 5.062 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.563e-05/0.847, allocations: 1.125 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.847, allocations: 1.031 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.8471, allocations: 5.188 kB / 0.9579 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8471, allocations: 3.938 kB / 0.9579 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.8471, allocations: 5.172 kB / 0.958 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.8472, allocations: 92.8 kB / 0.958 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.8472, allocations: 82.3 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.8472, allocations: 1.219 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.482e-05/0.8473, allocations: 1.25 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.8473, allocations: 1.125 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.8473, allocations: 10.33 kB / 0.9581 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.058e-05/0.8474, allocations: 92.27 kB / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8474, allocations: 0 / 0.9582 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002239/0.8476, allocations: 14.88 kB / 0.9582 GB, free: 4.023 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003259/0.8479, allocations: 0.6288 MB / 0.9588 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.8482, allocations: 126.1 kB / 0.959 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8482, allocations: 0 / 0.959 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.8482, allocations: 20.73 kB / 0.959 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.8484, allocations: 6.641 kB / 0.959 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.8492, allocations: 0.5176 MB / 0.9595 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.8493, allocations: 0.6799 MB / 0.9602 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.012e-05/0.8493, allocations: 3.875 kB / 0.9602 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.8494, allocations: 13.56 kB / 0.9602 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.8494, allocations: 0 / 0.9602 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.8615, allocations: 1.767 MB / 0.9619 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001436/0.8617, allocations: 202.4 kB / 0.9621 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.671, allocations: 0 / 0.9621 GB, free: 1.062 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat does not exist to compare? outputFormat=mat