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.0009194/0.0009197, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.000905/0.000905, allocations: 177.3 kB / 15.95 MB, free: 216 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.413/1.413, allocations: 223.2 MB / 239.9 MB, free: 5.379 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.411/2.411, allocations: 390.3 MB / 0.6653 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003617, allocations: 12 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8479/0.8483, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001008/0.8494, allocations: 330.4 kB / 0.9539 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.8508, allocations: 1.077 MB / 0.955 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.8508, allocations: 0 / 0.955 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.8509, allocations: 0 / 0.955 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.851, allocations: 10.86 kB / 0.955 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.8514, allocations: 107.5 kB / 0.9551 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.8515, allocations: 42.25 kB / 0.9551 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.8516, allocations: 6.281 kB / 0.9551 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.8517, allocations: 36.78 kB / 0.9552 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.8518, allocations: 22.52 kB / 0.9552 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.8519, allocations: 4.625 kB / 0.9552 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.233e-05/0.8519, allocations: 22.23 kB / 0.9552 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.8519, allocations: 1.125 kB / 0.9552 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.852, allocations: 35.36 kB / 0.9552 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.8521, allocations: 50.25 kB / 0.9553 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8521, allocations: 0.9062 kB / 0.9553 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8521, allocations: 0 / 0.9553 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.8521, allocations: 0 / 0.9553 GB, free: 6.793 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.000381/0.8525, allocations: 368 kB / 0.9556 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.8526, allocations: 9.344 kB / 0.9557 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.8526, allocations: 39.67 kB / 0.9557 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.8527, allocations: 11.86 kB / 0.9557 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.649e-05/0.8528, allocations: 173.8 kB / 0.9559 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.8528, allocations: 1.438 kB / 0.9559 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.8528, allocations: 5.062 kB / 0.9559 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.861e-05/0.8529, allocations: 43.28 kB / 0.9559 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.8529, allocations: 0 / 0.9559 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.853, allocations: 4.969 kB / 0.9559 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.853, allocations: 0 / 0.9559 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.49e-05/0.853, allocations: 13.84 kB / 0.9559 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.8534, allocations: 288.1 kB / 0.9562 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.04e-05/0.8535, allocations: 29.61 kB / 0.9562 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.8535, allocations: 3.984 kB / 0.9562 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.8536, allocations: 63.47 kB / 0.9563 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.8536, allocations: 0 / 0.9563 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001902/0.8538, allocations: 78.56 kB / 0.9564 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.8539, allocations: 52.94 kB / 0.9564 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.135e-05/0.8539, allocations: 114.8 kB / 0.9565 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.854, allocations: 26.92 kB / 0.9566 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.854, allocations: 83.55 kB / 0.9566 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.854, allocations: 13.16 kB / 0.9567 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.8541, allocations: 2.375 kB / 0.9567 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.8541, allocations: 320 kB / 0.957 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.136e-05/0.8542, allocations: 28.14 kB / 0.957 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.8543, allocations: 47.53 kB / 0.957 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.959e-05/0.8544, allocations: 58.22 kB / 0.9571 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8544, allocations: 0.6875 kB / 0.9571 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002298/0.8546, allocations: 153 kB / 0.9572 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.8547, allocations: 40.84 kB / 0.9573 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.8547, allocations: 1.125 kB / 0.9573 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.8547, allocations: 4.953 kB / 0.9573 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.785e-05/0.8548, allocations: 6.156 kB / 0.9573 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.8548, allocations: 1.188 kB / 0.9573 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.855, allocations: 42.34 kB / 0.9573 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.8551, allocations: 7.797 kB / 0.9573 GB, free: 4.715 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 8.926e-05/0.8551, allocations: 114.7 kB / 0.9574 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-06/0.8552, allocations: 3.172 kB / 0.9574 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.8552, allocations: 3.906 kB / 0.9575 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8552, allocations: 5.328 kB / 0.9575 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.8552, allocations: 3.953 kB / 0.9575 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.8552, allocations: 9.406 kB / 0.9575 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.952e-05/0.8553, allocations: 168.5 kB / 0.9576 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.8553, allocations: 0 / 0.9576 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.501e-05/0.8554, allocations: 5.312 kB / 0.9576 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8554, allocations: 1.375 kB / 0.9576 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.8554, allocations: 1.562 kB / 0.9576 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8554, allocations: 0 / 0.9576 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8554, allocations: 0 / 0.9576 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.929e-05/0.8555, allocations: 93.09 kB / 0.9577 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.8555, allocations: 82.48 kB / 0.9578 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.8555, allocations: 1.188 kB / 0.9578 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/0.8556, allocations: 5.281 kB / 0.9578 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.8556, allocations: 5.391 kB / 0.9578 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.8556, allocations: 5.688 kB / 0.9578 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.205e-05/0.8556, allocations: 83.98 kB / 0.9579 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8556, allocations: 0 / 0.9579 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002095/0.8559, allocations: 19.03 kB / 0.9579 GB, free: 4.078 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.0003222/0.8562, allocations: 0.632 MB / 0.9585 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.8564, allocations: 126.7 kB / 0.9587 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8564, allocations: 0 / 0.9587 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/0.8564, allocations: 13.53 kB / 0.9587 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.8566, allocations: 12.78 kB / 0.9587 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.8571, allocations: 0.6357 MB / 0.9593 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.8572, allocations: 0.6849 MB / 0.96 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.116e-05/0.8573, allocations: 6.156 kB / 0.96 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.8573, allocations: 18.31 kB / 0.96 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.8573, allocations: 0 / 0.96 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.8697, allocations: 1.745 MB / 0.9617 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.87, allocations: 197.5 kB / 0.9619 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.48, allocations: 0 / 0.9619 GB, free: 0.9102 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