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.398/2.398, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001198/0.001198, allocations: 176.8 kB / 496.1 MB, free: 12.86 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.598/1.598, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009372/0.0009371, allocations: 91.89 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.026e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3165, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.398, allocations: 149.8 MB / 1.365 GB, free: 4.301 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/1.399, allocations: 71.02 kB / 1.365 GB, free: 4.262 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002799/1.401, allocations: 0.9135 MB / 1.366 GB, free: 3.438 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.435e-06/1.401, allocations: 0 / 1.366 GB, free: 3.438 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.616e-06/1.401, allocations: 8 kB / 1.366 GB, free: 3.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004005/1.402, allocations: 347.7 kB / 1.366 GB, free: 3.051 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/1.402, allocations: 8.031 kB / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/1.402, allocations: 38.44 kB / 1.366 GB, free: 3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/1.402, allocations: 8.688 kB / 1.366 GB, free: 2.992 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/1.402, allocations: 169 kB / 1.367 GB, free: 2.789 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/1.402, allocations: 3.938 kB / 1.367 GB, free: 2.789 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/1.402, allocations: 11.98 kB / 1.367 GB, free: 2.777 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/1.402, allocations: 56.3 kB / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/1.402, allocations: 0 / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/1.402, allocations: 0 / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/1.402, allocations: 0 / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.254e-05/1.402, allocations: 27.05 kB / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/1.403, allocations: 289.9 kB / 1.367 GB, free: 2.391 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/1.403, allocations: 50.88 kB / 1.367 GB, free: 2.344 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/1.403, allocations: 26.75 kB / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/1.403, allocations: 0 / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/1.403, allocations: 34.5 kB / 1.367 GB, free: 2.277 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 5.37e-06/1.403, allocations: 0 / 1.367 GB, free: 2.277 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002062/1.403, allocations: 68.09 kB / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/1.403, allocations: 55.41 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/1.403, allocations: 100.5 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/1.404, allocations: 25.7 kB / 1.367 GB, free: 2.016 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/1.404, allocations: 84.02 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/1.404, allocations: 15.75 kB / 1.367 GB, free: 1.918 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/1.404, allocations: 0 / 1.367 GB, free: 1.918 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.404, allocations: 318.3 kB / 1.368 GB, free: 1.602 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/1.404, allocations: 10.94 kB / 1.368 GB, free: 1.594 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/1.404, allocations: 7.125 kB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.479e-05/1.404, allocations: 17.31 kB / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.404, allocations: 0 / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001076/1.404, allocations: 65.36 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.404, allocations: 4 kB / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.404, allocations: 0 / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.404, allocations: 0 / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/1.404, allocations: 15.98 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.404, allocations: 3.953 kB / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.871e-05/1.404, allocations: 19.89 kB / 1.368 GB, free: 1.473 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/1.404, allocations: 0 / 1.368 GB, free: 1.473 MB / 0.823 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 7.509e-05/1.404, allocations: 108.1 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/1.404, allocations: 0 / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/1.404, allocations: 6.531 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.404, allocations: 0 / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.404, allocations: 4 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.404, allocations: 3.953 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/1.405, allocations: 175.1 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.405, allocations: 4 kB / 1.368 GB, free: 1.133 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/1.405, allocations: 19.92 kB / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.405, allocations: 3.938 kB / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.405, allocations: 0 / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.405, allocations: 0 / 1.368 GB, free: 1.109 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.405, allocations: 4.875 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/1.405, allocations: 157.2 kB / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/1.405, allocations: 85.02 kB / 1.368 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/1.405, allocations: 3.438 kB / 1.368 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/1.405, allocations: 11.98 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/1.405, allocations: 10.23 kB / 1.368 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/1.405, allocations: 3.938 kB / 1.368 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.791e-05/1.405, allocations: 87.03 kB / 1.369 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/1.405, allocations: 0 / 1.369 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002088/1.405, allocations: 8 kB / 1.369 GB, free: 0.7305 MB / 0.823 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.0004537/1.406, allocations: 0.7136 MB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001313/1.406, allocations: 29.47 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.406, allocations: 0 / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/1.406, allocations: 23.06 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/1.406, allocations: 11.06 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/1.407, allocations: 112.4 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/1.407, allocations: 0.6809 MB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.706e-05/1.407, allocations: 4 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/1.407, allocations: 23.11 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/1.407, allocations: 4 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/1.42, allocations: 1.5 MB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/1.421, allocations: 169.1 kB / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.869, allocations: 0 / 1.372 GB, free: 13.55 MB / 0.8386 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