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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.591/2.591, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 171.7 kB / 0.4901 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 223.1 MB / 0.7992 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008707/0.0008704, allocations: 103.1 kB / 0.9396 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004009, allocations: 11.19 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3159, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.4993, allocations: 150.2 MB / 1.376 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.4996, allocations: 71.95 kB / 1.376 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005398/0.5051, allocations: 1.81 MB / 1.378 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5051, allocations: 0 / 1.378 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.5051, allocations: 0 / 1.378 GB, free: 1.285 MB / 0.8698 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.0004468/0.5056, allocations: 380.9 kB / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.5056, allocations: 8.562 kB / 1.378 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.5057, allocations: 38.55 kB / 1.378 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.5057, allocations: 4 kB / 1.378 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.5059, allocations: 175 kB / 1.378 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.5059, allocations: 0 / 1.378 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.5059, allocations: 8 kB / 1.378 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.5061, allocations: 41.69 kB / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.5061, allocations: 0 / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.5061, allocations: 0 / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.5061, allocations: 0 / 1.378 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.5061, allocations: 19.97 kB / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.5066, allocations: 292.9 kB / 1.379 GB, free: 184 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.613e-05/0.5067, allocations: 30.5 kB / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.5067, allocations: 0 / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.5069, allocations: 63.31 kB / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.5069, allocations: 4 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002423/0.5071, allocations: 77.61 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.5072, allocations: 55.36 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.5073, allocations: 101 kB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.5073, allocations: 25.7 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.5074, allocations: 84.14 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.5074, allocations: 11.81 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.5074, allocations: 4 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5076, allocations: 322.8 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.5076, allocations: 27.98 kB / 1.379 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.572e-05/0.5077, allocations: 50.56 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.063e-05/0.5078, allocations: 57.69 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5078, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002388/0.5081, allocations: 147.2 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.5081, allocations: 37.7 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5081, allocations: 4.062 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5081, allocations: 0 / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/0.5082, allocations: 11.92 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.5082, allocations: 0 / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.5084, allocations: 39.92 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.5084, allocations: 8 kB / 1.38 GB, free: 14.94 MB / 0.8855 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 8.717e-05/0.5085, allocations: 113.8 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.5085, allocations: 7.906 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.5086, allocations: 7.891 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5086, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5086, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5086, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.5087, allocations: 173.6 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5087, allocations: 0 / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.5088, allocations: 4 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5088, allocations: 4 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.5088, allocations: 0 / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5088, allocations: 0 / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5088, allocations: 0 / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.5089, allocations: 89.02 kB / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.509, allocations: 93 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.509, allocations: 0 / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.647e-05/0.509, allocations: 4 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.5091, allocations: 8 kB / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.5091, allocations: 0 / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.521e-05/0.5091, allocations: 83.27 kB / 1.38 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5091, allocations: 0 / 1.38 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002457/0.5094, allocations: 31.94 kB / 1.38 GB, free: 14.24 MB / 0.8855 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.0005146/0.5099, allocations: 0.6291 MB / 1.381 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.5102, allocations: 127.4 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5102, allocations: 0 / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.966e-05/0.5102, allocations: 19.92 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.5104, allocations: 4.859 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007122/0.5111, allocations: 0.6517 MB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.5115, allocations: 0.6848 MB / 1.382 GB, free: 12 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.869e-05/0.5115, allocations: 8 kB / 1.382 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.5115, allocations: 15.38 kB / 1.382 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of SimCode: time 3.3e-07/0.5115, allocations: 4 kB / 1.382 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.5247, allocations: 1.738 MB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.5249, allocations: 199.5 kB / 1.384 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.155, allocations: 0 / 1.384 GB, free: 10.17 MB / 0.8855 GB (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/linux/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 --timeout=50 --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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat does not exist to compare? outputFormat=mat