Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.BooleanToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.321/2.321, 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.001091/0.001091, allocations: 191.9 kB / 0.4901 GB, free: 2.258 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.579/1.579, allocations: 223.1 MB / 0.7992 GB, free: 14.79 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.000904/0.000904, allocations: 98.47 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004449, allocations: 7.562 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3141, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.5119, allocations: 150.2 MB / 1.376 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.5122, allocations: 71.95 kB / 1.376 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005528/0.5178, allocations: 1.81 MB / 1.378 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5178, allocations: 4 kB / 1.378 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.5178, allocations: 0 / 1.378 GB, free: 1.484 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.00052/0.5183, allocations: 380.9 kB / 1.378 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.5184, allocations: 8.562 kB / 1.378 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.5184, allocations: 30.56 kB / 1.378 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.5185, allocations: 4 kB / 1.378 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.5187, allocations: 175 kB / 1.378 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.5187, allocations: 7.938 kB / 1.378 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.5187, allocations: 8 kB / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.5189, allocations: 37.69 kB / 1.378 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5189, allocations: 0 / 1.378 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.5189, allocations: 7.984 kB / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5189, allocations: 0 / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.12e-05/0.519, allocations: 8 kB / 1.378 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.5195, allocations: 288.9 kB / 1.379 GB, free: 400 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.574e-05/0.5196, allocations: 34.5 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.5196, allocations: 0 / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.5198, allocations: 67.36 kB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.5198, allocations: 0 / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002349/0.5201, allocations: 69.62 kB / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.5201, allocations: 55.36 kB / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.5202, allocations: 101 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.5203, allocations: 25.7 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.5204, allocations: 92.14 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.5204, allocations: 7.891 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.5204, allocations: 4 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5206, allocations: 314.8 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.5206, allocations: 27.98 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.5207, allocations: 54.55 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.06e-05/0.5208, allocations: 57.7 kB / 1.38 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5209, allocations: 0 / 1.38 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002778/0.5211, allocations: 155.1 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.5212, allocations: 37.69 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5212, allocations: 0 / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5212, allocations: 240 / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.505e-05/0.5213, allocations: 7.938 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5213, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.5215, allocations: 43.98 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.5215, allocations: 4 kB / 1.38 GB, free: 15.16 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: 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 0.000108/0.5216, allocations: 117.8 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.5217, allocations: 11.89 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.5217, allocations: 7.906 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5217, allocations: 4 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5217, allocations: 0 / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5217, allocations: 0 / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.5219, allocations: 177.6 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5219, allocations: 0 / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.249e-05/0.522, allocations: 4 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.522, allocations: 0 / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.522, allocations: 0 / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.522, allocations: 0 / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.522, allocations: 0 / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.5221, allocations: 97 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.5222, allocations: 81.11 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.5222, allocations: 0 / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/0.5222, allocations: 0 / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.5223, allocations: 7.984 kB / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.5223, allocations: 0 / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.5223, allocations: 83.28 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5223, allocations: 0 / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002247/0.5226, allocations: 27.94 kB / 1.38 GB, free: 14.45 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: 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.0004617/0.523, allocations: 0.6364 MB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.5233, allocations: 127.4 kB / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5233, allocations: 0 / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.901e-05/0.5233, allocations: 15.94 kB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.5235, allocations: 12.11 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/0.5241, allocations: 0.6439 MB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.5244, allocations: 0.6848 MB / 1.382 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.5244, allocations: 4.25 kB / 1.382 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.5245, allocations: 15.44 kB / 1.382 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of SimCode: time 3e-07/0.5245, allocations: 0 / 1.382 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.5378, allocations: 1.736 MB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.5381, allocations: 197.5 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.116, allocations: 0 / 1.384 GB, free: 10.4 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat does not exist to compare? outputFormat=mat