Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.IntegerToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",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.307/2.307, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.00123/0.00123, allocations: 168.9 kB / 492.3 MB, free: 0.6211 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.542/1.542, allocations: 221.3 MB / 0.7872 GB, free: 12.9 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.000954/0.000954, allocations: 95.88 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.388e-05/4.413e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3514, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.208/1.559, allocations: 149 MB / 1.358 GB, free: 19.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/1.559, allocations: 67.28 kB / 1.358 GB, free: 19.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003835/1.563, allocations: 0.9145 MB / 1.359 GB, free: 34.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.114e-06/1.563, allocations: 0 / 1.359 GB, free: 34.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.563, allocations: 4 kB / 1.359 GB, free: 34.82 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004467/1.564, allocations: 355.7 kB / 1.359 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/1.564, allocations: 7.719 kB / 1.359 GB, free: 34.47 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/1.564, allocations: 39.17 kB / 1.359 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/1.564, allocations: 3.906 kB / 1.359 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/1.564, allocations: 169.9 kB / 1.359 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/1.564, allocations: 0 / 1.359 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/1.564, allocations: 10.72 kB / 1.359 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/1.564, allocations: 49.92 kB / 1.36 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.564, allocations: 0 / 1.36 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/1.564, allocations: 2.375 kB / 1.36 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/1.564, allocations: 0.7031 kB / 1.36 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.947e-05/1.564, allocations: 30.91 kB / 1.36 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/1.565, allocations: 292.1 kB / 1.36 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/1.565, allocations: 47.52 kB / 1.36 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/1.565, allocations: 22.12 kB / 1.36 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/1.565, allocations: 3.984 kB / 1.36 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/1.565, allocations: 34.47 kB / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/1.565, allocations: 0 / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000208/1.565, allocations: 56.47 kB / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/1.565, allocations: 59.36 kB / 1.36 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/1.566, allocations: 97.59 kB / 1.36 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/1.566, allocations: 29.38 kB / 1.36 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/1.566, allocations: 93.14 kB / 1.36 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/1.566, allocations: 19.84 kB / 1.36 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/1.566, allocations: 0 / 1.36 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.566, allocations: 312.2 kB / 1.361 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/1.566, allocations: 15.14 kB / 1.361 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.52e-05/1.566, allocations: 15.7 kB / 1.361 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.981e-05/1.566, allocations: 13.11 kB / 1.361 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.566, allocations: 0 / 1.361 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001071/1.566, allocations: 59.7 kB / 1.361 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.566, allocations: 9.219 kB / 1.361 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/1.566, allocations: 0.75 kB / 1.361 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.566, allocations: 0 / 1.361 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/1.566, allocations: 15.67 kB / 1.361 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.566, allocations: 0.7812 kB / 1.361 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/1.566, allocations: 22.64 kB / 1.361 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/1.566, allocations: 0.7969 kB / 1.361 GB, free: 33.15 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.333e-05/1.566, allocations: 102.4 kB / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/1.567, allocations: 8.266 kB / 1.361 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/1.567, allocations: 4.828 kB / 1.361 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.567, allocations: 0 / 1.361 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.567, allocations: 4.875 kB / 1.361 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.567, allocations: 0.7969 kB / 1.361 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/1.567, allocations: 180.3 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.567, allocations: 0 / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/1.567, allocations: 16.05 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.567, allocations: 0 / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/1.567, allocations: 1.734 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.567, allocations: 0 / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.567, allocations: 3.875 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/1.567, allocations: 167 kB / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/1.567, allocations: 77.91 kB / 1.361 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/1.567, allocations: 256 / 1.361 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/1.567, allocations: 15.11 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/1.567, allocations: 15.69 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/1.567, allocations: 0 / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.953e-05/1.567, allocations: 91.83 kB / 1.361 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.567, allocations: 0 / 1.361 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002151/1.568, allocations: 8.406 kB / 1.361 GB, free: 32.51 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: 1 (intToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005052/1.568, allocations: 0.705 MB / 1.362 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000154/1.568, allocations: 36.89 kB / 1.362 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.568, allocations: 0 / 1.362 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.674e-05/1.568, allocations: 20.11 kB / 1.362 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/1.569, allocations: 12.48 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/1.569, allocations: 105 kB / 1.362 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/1.569, allocations: 0.6868 MB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.138e-05/1.569, allocations: 5 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/1.57, allocations: 14.23 kB / 1.363 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.57, allocations: 4 kB / 1.363 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/1.582, allocations: 1.485 MB / 1.364 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/1.582, allocations: 167.5 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/3.281, allocations: 0 / 1.365 GB, free: 30.64 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat does not exist to compare? outputFormat=mat