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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 86.64 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.001042/0.001041, 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.415/1.415, allocations: 223.3 MB / 240 MB, free: 5.375 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.527/2.527, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.000376, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7638/0.7642, allocations: 142.3 MB / 0.9539 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0007504/0.765, allocations: 328.2 kB / 0.9542 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.7662, allocations: 1.086 MB / 0.9552 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.7663, allocations: 0.6875 kB / 0.9552 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.7663, allocations: 3.938 kB / 0.9552 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.7664, allocations: 1.406 kB / 0.9552 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.7668, allocations: 108 kB / 0.9553 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.7669, allocations: 71.86 kB / 0.9554 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.767, allocations: 14.69 kB / 0.9554 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.7671, allocations: 25.17 kB / 0.9554 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.333e-05/0.7671, allocations: 22.91 kB / 0.9555 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.7672, allocations: 8.594 kB / 0.9555 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.28e-05/0.7672, allocations: 17.33 kB / 0.9555 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.7673, allocations: 6.25 kB / 0.9555 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.7673, allocations: 35.33 kB / 0.9555 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.7674, allocations: 62.92 kB / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.7674, allocations: 0 / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7675, allocations: 0 / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.7675, allocations: 0 / 0.9556 GB, free: 6.727 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.000362/0.7678, allocations: 371 kB / 0.9559 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.7679, allocations: 9.906 kB / 0.956 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.7679, allocations: 30.56 kB / 0.956 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.768, allocations: 8.516 kB / 0.956 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.425e-05/0.7681, allocations: 165.1 kB / 0.9562 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.7681, allocations: 6.688 kB / 0.9562 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.7681, allocations: 8.203 kB / 0.9562 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.792e-05/0.7682, allocations: 43.25 kB / 0.9562 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.7682, allocations: 5.078 kB / 0.9562 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.7682, allocations: 0 / 0.9562 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.7682, allocations: 1.25 kB / 0.9562 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.7683, allocations: 12.36 kB / 0.9562 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.7687, allocations: 288.9 kB / 0.9565 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.557e-05/0.7687, allocations: 28.39 kB / 0.9565 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.7688, allocations: 13.52 kB / 0.9565 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.7688, allocations: 0 / 0.9565 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.7689, allocations: 62.73 kB / 0.9566 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.7689, allocations: 0 / 0.9566 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001936/0.7691, allocations: 75.75 kB / 0.9567 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.7692, allocations: 56.38 kB / 0.9567 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.7692, allocations: 114.4 kB / 0.9568 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.7693, allocations: 32.23 kB / 0.9569 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.7693, allocations: 82.64 kB / 0.9569 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.7693, allocations: 9.219 kB / 0.957 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.7693, allocations: 2 kB / 0.957 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.7694, allocations: 317.3 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.7695, allocations: 34.91 kB / 0.9573 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-05/0.7696, allocations: 52.47 kB / 0.9573 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.097e-05/0.7697, allocations: 57.78 kB / 0.9574 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7697, allocations: 0.9375 kB / 0.9574 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002391/0.7699, allocations: 144.1 kB / 0.9575 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.77, allocations: 37.42 kB / 0.9576 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.77, allocations: 1.469 kB / 0.9576 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.77, allocations: 3.953 kB / 0.9576 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.976e-05/0.7701, allocations: 11.02 kB / 0.9576 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.7701, allocations: 1.469 kB / 0.9576 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.7703, allocations: 49.59 kB / 0.9576 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.7703, allocations: 4.781 kB / 0.9576 GB, free: 4.645 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: 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 7.002e-05/0.7704, allocations: 118.3 kB / 0.9578 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.7704, allocations: 6.391 kB / 0.9578 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.7705, allocations: 9.094 kB / 0.9578 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7705, allocations: 3.953 kB / 0.9578 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7705, allocations: 0.9375 kB / 0.9578 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.7705, allocations: 0 / 0.9578 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.203e-05/0.7706, allocations: 165.5 kB / 0.9579 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7706, allocations: 0 / 0.9579 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.52e-05/0.7706, allocations: 2.281 kB / 0.9579 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7706, allocations: 0 / 0.9579 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.7706, allocations: 1.188 kB / 0.9579 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7706, allocations: 5.25 kB / 0.9579 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7706, allocations: 4.344 kB / 0.9579 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.613e-05/0.7707, allocations: 89.22 kB / 0.958 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.7708, allocations: 78.19 kB / 0.9581 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.7708, allocations: 5.641 kB / 0.9581 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.295e-05/0.7708, allocations: 0 / 0.9581 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.7708, allocations: 2.375 kB / 0.9581 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.7708, allocations: 14.08 kB / 0.9581 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.706e-05/0.7709, allocations: 88.06 kB / 0.9582 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7709, allocations: 0 / 0.9582 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002058/0.7711, allocations: 19.69 kB / 0.9582 GB, free: 4.008 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: 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.0002691/0.7714, allocations: 0.6217 MB / 0.9588 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.7715, allocations: 128 kB / 0.959 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7716, allocations: 0 / 0.959 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.7716, allocations: 16.7 kB / 0.959 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.7718, allocations: 16.27 kB / 0.959 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007535/0.7726, allocations: 0.5216 MB / 0.9595 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.7727, allocations: 0.6785 MB / 0.9602 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.7727, allocations: 7.531 kB / 0.9602 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.7728, allocations: 13.25 kB / 0.9602 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of SimCode: time 1.81e-07/0.7728, allocations: 0 / 0.9602 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.7848, allocations: 1.759 MB / 0.9619 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.7851, allocations: 212.9 kB / 0.9621 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.596, allocations: 0 / 0.9621 GB, free: 1.055 MB / 0.7169 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