Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.IntegerToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.429/2.429, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001041/0.001042, allocations: 190.8 kB / 0.4901 GB, free: 2.234 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.55/1.55, allocations: 223.1 MB / 0.7992 GB, free: 15.63 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.001305/0.001304, allocations: 100.2 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 8.344 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2852, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.4764, allocations: 149.8 MB / 1.376 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.4767, allocations: 67.95 kB / 1.376 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002802/0.4795, allocations: 0.9169 MB / 1.377 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.498e-06/0.4795, allocations: 4 kB / 1.377 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.4795, allocations: 4 kB / 1.377 GB, free: 14.34 MB / 0.8855 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.0004609/0.48, allocations: 351.2 kB / 1.377 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4801, allocations: 8.562 kB / 1.377 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.4801, allocations: 38.56 kB / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.4801, allocations: 0 / 1.377 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.4803, allocations: 182.8 kB / 1.377 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4803, allocations: 3.938 kB / 1.377 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.4804, allocations: 12 kB / 1.377 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.4806, allocations: 65.66 kB / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4806, allocations: 0 / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4806, allocations: 4 kB / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4806, allocations: 0 / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.4809, allocations: 59.95 kB / 1.377 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.4813, allocations: 292.7 kB / 1.378 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.4815, allocations: 70.53 kB / 1.378 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.4816, allocations: 4.031 kB / 1.378 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.4816, allocations: 30.56 kB / 1.378 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.4816, allocations: 0 / 1.378 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0004566/0.4821, allocations: 129.6 kB / 1.378 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.4821, allocations: 59.36 kB / 1.378 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.569e-05/0.4822, allocations: 96.98 kB / 1.378 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.4822, allocations: 25.7 kB / 1.378 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.4823, allocations: 84.14 kB / 1.378 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.4823, allocations: 15.81 kB / 1.378 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.4823, allocations: 0 / 1.378 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4825, allocations: 318.8 kB / 1.378 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.4826, allocations: 27.98 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.4827, allocations: 27.97 kB / 1.378 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.4828, allocations: 31.98 kB / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4828, allocations: 0 / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002542/0.4831, allocations: 93.64 kB / 1.378 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4831, allocations: 7.938 kB / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4831, allocations: 0 / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4831, allocations: 3.938 kB / 1.379 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.4833, allocations: 15.98 kB / 1.379 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4833, allocations: 0 / 1.379 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.4834, allocations: 23.88 kB / 1.379 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.4834, allocations: 0 / 1.379 GB, free: 12.08 MB / 0.8855 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 () * Number of clocked 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 0.0001046/0.4835, allocations: 113.8 kB / 1.379 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.4835, allocations: 7.891 kB / 1.379 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.4836, allocations: 11.91 kB / 1.379 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4836, allocations: 336 / 1.379 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.4836, allocations: 256 / 1.379 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4836, allocations: 0 / 1.379 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.4838, allocations: 177.6 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4838, allocations: 3.984 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.4839, allocations: 19.98 kB / 1.379 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4839, allocations: 0 / 1.379 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4839, allocations: 4 kB / 1.379 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.484, allocations: 0 / 1.379 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.484, allocations: 0 / 1.379 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.4843, allocations: 199.4 kB / 1.379 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.4843, allocations: 85.02 kB / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.4844, allocations: 0 / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4845, allocations: 7.984 kB / 1.379 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.4845, allocations: 15.92 kB / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.4846, allocations: 4 kB / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.4846, allocations: 83.27 kB / 1.379 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4846, allocations: 4 kB / 1.379 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002216/0.4848, allocations: 16 kB / 1.379 GB, free: 11.25 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: 1 (intToRea.u) * Number of discrete states: 0 () * Number of clocked 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.0006236/0.4855, allocations: 0.7326 MB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.4857, allocations: 63.94 kB / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4858, allocations: 0 / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.4859, allocations: 39.97 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.4861, allocations: 9.625 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.4871, allocations: 474.4 kB / 1.381 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.4874, allocations: 0.6848 MB / 1.381 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.192e-05/0.4875, allocations: 11.91 kB / 1.381 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.4876, allocations: 15.42 kB / 1.381 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.4876, allocations: 0 / 1.381 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.4998, allocations: 1.495 MB / 1.383 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.5, allocations: 194.2 kB / 1.383 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.052, allocations: 0 / 1.383 GB, free: 7.574 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat does not exist to compare? outputFormat=mat