Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.0015/0.0015, allocations: 179.3 kB / 498.1 MB, free: 5.723 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.439/1.439, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009247/0.0009247, allocations: 91.09 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 6.938 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2612, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1823/0.4436, allocations: 149.4 MB / 1.369 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4439, allocations: 75.89 kB / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005418/0.4493, allocations: 1.807 MB / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4493, allocations: 0 / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.4494, allocations: 4 kB / 1.371 GB, free: 10.73 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.0004213/0.4498, allocations: 380.9 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4498, allocations: 12.03 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.4499, allocations: 30.56 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.45, allocations: 4 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.4501, allocations: 170.9 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.4501, allocations: 4 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.4501, allocations: 4 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.943e-05/0.4503, allocations: 45.62 kB / 1.371 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.4503, allocations: 0 / 1.371 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.4503, allocations: 4 kB / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.4503, allocations: 0 / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.4503, allocations: 8 kB / 1.371 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.4508, allocations: 296.8 kB / 1.372 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.951e-05/0.4508, allocations: 26.58 kB / 1.372 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.4509, allocations: 0 / 1.372 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.451, allocations: 67.39 kB / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.451, allocations: 0 / 1.372 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002016/0.4512, allocations: 69.67 kB / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.4513, allocations: 55.36 kB / 1.372 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.685e-05/0.4514, allocations: 108.8 kB / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.4514, allocations: 29.7 kB / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.4515, allocations: 92.08 kB / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.4515, allocations: 11.84 kB / 1.372 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.4515, allocations: 4 kB / 1.372 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4516, allocations: 314.8 kB / 1.372 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.371e-05/0.4517, allocations: 31.97 kB / 1.372 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.4518, allocations: 46.56 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.452e-05/0.4519, allocations: 57.69 kB / 1.372 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4519, allocations: 0 / 1.372 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003136/0.4522, allocations: 155.4 kB / 1.373 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.4523, allocations: 41.64 kB / 1.373 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4523, allocations: 0 / 1.373 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4523, allocations: 240 / 1.373 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.55e-05/0.4524, allocations: 4 kB / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4524, allocations: 0 / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.4526, allocations: 43.97 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.4526, allocations: 8.391 kB / 1.373 GB, free: 8.387 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booToInt.y,$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 9.977e-05/0.4527, allocations: 119.3 kB / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.4527, allocations: 7.891 kB / 1.373 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.4528, allocations: 11.91 kB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4528, allocations: 0 / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4528, allocations: 0 / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4528, allocations: 7.984 kB / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.4529, allocations: 161.6 kB / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.4529, allocations: 0 / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.4529, allocations: 0 / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.453, allocations: 7.984 kB / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.453, allocations: 0 / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.453, allocations: 0 / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.453, allocations: 0 / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.4531, allocations: 89.02 kB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.4532, allocations: 85.02 kB / 1.373 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.4532, allocations: 4 kB / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.616e-05/0.4532, allocations: 7.922 kB / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.4532, allocations: 0 / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.4532, allocations: 4 kB / 1.373 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.4533, allocations: 95.23 kB / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4533, allocations: 0 / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002103/0.4535, allocations: 16 kB / 1.373 GB, free: 7.68 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,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.0004272/0.4539, allocations: 0.6357 MB / 1.374 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.4542, allocations: 127.3 kB / 1.374 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4542, allocations: 0 / 1.374 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.4542, allocations: 12 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.4544, allocations: 7.984 kB / 1.374 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006173/0.455, allocations: 0.6595 MB / 1.375 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.4553, allocations: 0.6848 MB / 1.375 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.4553, allocations: 4.25 kB / 1.375 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.4554, allocations: 11.42 kB / 1.375 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/0.4554, allocations: 0 / 1.375 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.4704, allocations: 1.725 MB / 1.377 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.4707, allocations: 189.3 kB / 1.377 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.07, allocations: 0 / 1.377 GB, free: 3.613 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat does not exist to compare? outputFormat=mat