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.206/2.206, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001176/0.001177, allocations: 187.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.001002/0.001002, allocations: 86.61 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.713e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3176, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.413, allocations: 150.1 MB / 1.365 GB, free: 3.883 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.413, allocations: 73.7 kB / 1.366 GB, free: 3.844 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00558/1.419, allocations: 1.802 MB / 1.367 GB, free: 2.277 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.005e-06/1.419, allocations: 4 kB / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.746e-06/1.419, allocations: 3.938 kB / 1.367 GB, free: 2.27 MB / 0.823 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.0005205/1.419, allocations: 360.1 kB / 1.368 GB, free: 1.871 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/1.42, allocations: 12.03 kB / 1.368 GB, free: 1.859 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/1.42, allocations: 30.56 kB / 1.368 GB, free: 1.82 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/1.42, allocations: 11.75 kB / 1.368 GB, free: 1.812 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/1.42, allocations: 171.5 kB / 1.368 GB, free: 1.605 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/1.42, allocations: 4 kB / 1.368 GB, free: 1.602 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/1.42, allocations: 4 kB / 1.368 GB, free: 1.598 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/1.42, allocations: 48.94 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.42, allocations: 0 / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/1.42, allocations: 0 / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.42, allocations: 0 / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.213e-05/1.42, allocations: 11.69 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/1.421, allocations: 293.2 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.194e-05/1.421, allocations: 29.95 kB / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/1.421, allocations: 16.73 kB / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/1.421, allocations: 0 / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/1.421, allocations: 58.52 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/1.421, allocations: 0 / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002143/1.421, allocations: 68.77 kB / 1.368 GB, free: 1.039 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/1.421, allocations: 55.36 kB / 1.368 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/1.421, allocations: 107.9 kB / 1.369 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/1.421, allocations: 29.7 kB / 1.369 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/1.421, allocations: 88.06 kB / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/1.421, allocations: 7.906 kB / 1.369 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/1.422, allocations: 3.812 kB / 1.369 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.422, allocations: 314.8 kB / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-05/1.422, allocations: 26.44 kB / 1.369 GB, free: 412 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.209e-05/1.422, allocations: 48.69 kB / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.778e-05/1.422, allocations: 68.19 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.422, allocations: 3.938 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002565/1.422, allocations: 148 kB / 1.369 GB, free: 160 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/1.422, allocations: 37.69 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.422, allocations: 0 / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.422, allocations: 0 / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/1.422, allocations: 4 kB / 1.369 GB, free: 112 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.422, allocations: 64 / 1.369 GB, free: 112 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/1.423, allocations: 47.17 kB / 1.369 GB, free: 68 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/1.423, allocations: 4 kB / 1.369 GB, free: 64 kB / 0.823 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 () * 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.0001242/1.423, allocations: 112.9 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/1.423, allocations: 0 / 1.369 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/1.423, allocations: 15.84 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.423, allocations: 0 / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.423, allocations: 0 / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.423, allocations: 0 / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/1.423, allocations: 168.4 kB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/1.423, allocations: 0 / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/1.423, allocations: 0 / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/1.423, allocations: 4 kB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/1.423, allocations: 0 / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.423, allocations: 0 / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.423, allocations: 0 / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/1.423, allocations: 95.97 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/1.423, allocations: 81.11 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/1.423, allocations: 0.75 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/1.423, allocations: 0 / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/1.424, allocations: 3.375 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/1.424, allocations: 7.984 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.354e-05/1.424, allocations: 87.08 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.424, allocations: 4 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002254/1.424, allocations: 20 kB / 1.37 GB, free: 15.4 MB / 0.8386 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 () * 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.0004625/1.424, allocations: 0.6341 MB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002266/1.425, allocations: 132 kB / 1.371 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.425, allocations: 128 / 1.371 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.303e-05/1.425, allocations: 15.44 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/1.425, allocations: 8.672 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/1.425, allocations: 111 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/1.425, allocations: 0.6896 MB / 1.371 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.541e-05/1.425, allocations: 0 / 1.371 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/1.425, allocations: 18.94 kB / 1.371 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.425, allocations: 0 / 1.371 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/1.44, allocations: 1.757 MB / 1.373 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/1.441, allocations: 176.2 kB / 1.373 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.913, allocations: 0 / 1.373 GB, free: 11.94 MB / 0.8386 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