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.191/2.191, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.00117/0.00117, allocations: 185.1 kB / 498.1 MB, free: 5.688 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.541/1.541, allocations: 223.1 MB / 0.7948 GB, free: 18.86 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.0009241/0.0009241, allocations: 99.89 kB / 0.9346 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004579, allocations: 9.906 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2928, allocations: 142.3 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1951/0.4879, allocations: 149 MB / 1.368 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.4882, allocations: 75.94 kB / 1.369 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002781/0.491, allocations: 0.9092 MB / 1.369 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.491, allocations: 0 / 1.369 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.491, allocations: 0 / 1.369 GB, free: 3.266 MB / 0.8698 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.0004936/0.4915, allocations: 363.2 kB / 1.37 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4916, allocations: 12.03 kB / 1.37 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.4916, allocations: 30.56 kB / 1.37 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.4917, allocations: 7.906 kB / 1.37 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.4918, allocations: 171 kB / 1.37 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.4919, allocations: 4 kB / 1.37 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.4919, allocations: 0 / 1.37 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.4921, allocations: 73.66 kB / 1.37 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4921, allocations: 3.984 kB / 1.37 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4921, allocations: 0 / 1.37 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.4922, allocations: 0 / 1.37 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.4924, allocations: 71.81 kB / 1.37 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.4928, allocations: 288.8 kB / 1.37 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.493, allocations: 66.55 kB / 1.37 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.4931, allocations: 0 / 1.37 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.4931, allocations: 46.62 kB / 1.371 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.4931, allocations: 0 / 1.371 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004558/0.4936, allocations: 121.6 kB / 1.371 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.4936, allocations: 59.36 kB / 1.371 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.614e-05/0.4937, allocations: 101 kB / 1.371 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.4938, allocations: 25.7 kB / 1.371 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.4938, allocations: 84.14 kB / 1.371 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.4939, allocations: 11.81 kB / 1.371 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.4939, allocations: 0 / 1.371 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.494, allocations: 318.8 kB / 1.371 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.4941, allocations: 27.98 kB / 1.371 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.4942, allocations: 31.97 kB / 1.371 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.4944, allocations: 27.92 kB / 1.371 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4944, allocations: 0 / 1.371 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002732/0.4946, allocations: 97.64 kB / 1.371 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.4947, allocations: 8 kB / 1.371 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4947, allocations: 0 / 1.371 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.4947, allocations: 256 / 1.371 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.4949, allocations: 19.98 kB / 1.371 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4949, allocations: 4 kB / 1.371 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.089e-05/0.495, allocations: 15.88 kB / 1.371 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.495, allocations: 4 kB / 1.371 GB, free: 0.9922 MB / 0.8698 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.0001036/0.4951, allocations: 111.9 kB / 1.372 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.4952, allocations: 7.906 kB / 1.372 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/0.4952, allocations: 11.84 kB / 1.372 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.4952, allocations: 3.984 kB / 1.372 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4952, allocations: 4 kB / 1.372 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4952, allocations: 0 / 1.372 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.4955, allocations: 177.5 kB / 1.372 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4955, allocations: 0 / 1.372 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.4956, allocations: 15.98 kB / 1.372 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.4956, allocations: 0 / 1.372 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.4956, allocations: 3.984 kB / 1.372 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4956, allocations: 0 / 1.372 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4957, allocations: 0 / 1.372 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.496, allocations: 195.5 kB / 1.372 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.4961, allocations: 81.39 kB / 1.372 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.4961, allocations: 0 / 1.372 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4962, allocations: 15.98 kB / 1.372 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.4963, allocations: 15.92 kB / 1.372 GB, free: 268 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.4963, allocations: 3.984 kB / 1.372 GB, free: 264 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.812e-05/0.4964, allocations: 83.28 kB / 1.372 GB, free: 180 kB / 0.8698 GB Notification: Performance of sort global known variables: time 2.124e-06/0.4964, allocations: 0 / 1.372 GB, free: 180 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000258/0.4967, allocations: 15.94 kB / 1.372 GB, free: 164 kB / 0.8698 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.0007682/0.4975, allocations: 0.7385 MB / 1.373 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.4977, allocations: 63.95 kB / 1.373 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4978, allocations: 0 / 1.373 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.4979, allocations: 39.91 kB / 1.373 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.4982, allocations: 4 kB / 1.373 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.4994, allocations: 486.3 kB / 1.373 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.4998, allocations: 0.6848 MB / 1.374 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.697e-05/0.4999, allocations: 4 kB / 1.374 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.5, allocations: 23.42 kB / 1.374 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of SimCode: time 3.81e-07/0.5, allocations: 0 / 1.374 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.5153, allocations: 1.478 MB / 1.376 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.5156, allocations: 200.8 kB / 1.376 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.076, allocations: 3.938 kB / 1.376 GB, free: 12.45 MB / 0.8855 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