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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 193.2 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.402/2.402, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 61.38 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2451, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001819/0.247, allocations: 0.7286 MB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008893/0.2479, allocations: 0.8391 MB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.2479, allocations: 0 / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.248, allocations: 3.938 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.248, allocations: 0 / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.2482, allocations: 23.97 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.246e-05/0.2482, allocations: 43.84 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.2483, allocations: 16 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/0.2484, allocations: 15.92 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.071e-05/0.2485, allocations: 23.91 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.2485, allocations: 4 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.2485, allocations: 0 / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.2485, allocations: 11.98 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.2486, allocations: 15.86 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.247e-05/0.2486, allocations: 43.86 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2486, allocations: 4 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2487, allocations: 4 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2487, allocations: 3.938 kB / 1.054 GB, free: 6.41 MB / 0.8106 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.0004359/0.2491, allocations: 351.7 kB / 1.054 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2492, allocations: 11.97 kB / 1.054 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.2492, allocations: 34.75 kB / 1.054 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.2492, allocations: 0.9375 kB / 1.054 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2493, allocations: 172.3 kB / 1.054 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2494, allocations: 8.375 kB / 1.054 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.2494, allocations: 4.375 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.2496, allocations: 62.22 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.2496, allocations: 3.938 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2496, allocations: 0 / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2496, allocations: 4 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.2498, allocations: 51.89 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.2502, allocations: 288.8 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.2504, allocations: 66.53 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.894e-05/0.2505, allocations: 28.91 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.2505, allocations: 4 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.2505, allocations: 42.5 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2506, allocations: 0 / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003851/0.2509, allocations: 105.5 kB / 1.055 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.251, allocations: 55.41 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.001e-05/0.2511, allocations: 109.8 kB / 1.055 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.2511, allocations: 25.7 kB / 1.055 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.2511, allocations: 88.08 kB / 1.055 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.2512, allocations: 15.81 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.2512, allocations: 17.7 kB / 1.055 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.2513, allocations: 318.8 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.2514, allocations: 23.97 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.2515, allocations: 27.91 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.2517, allocations: 52.83 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2517, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000227/0.2519, allocations: 85.64 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.2519, allocations: 4 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.252, allocations: 0 / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.252, allocations: 336 / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2521, allocations: 11.98 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2521, allocations: 4 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.736e-05/0.2522, allocations: 7.984 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.2522, allocations: 4 kB / 1.056 GB, free: 4.125 MB / 0.8106 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 (reaToInt1.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/0.2523, allocations: 117.7 kB / 1.056 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.2523, allocations: 12.14 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.2523, allocations: 11.89 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2523, allocations: 0 / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2524, allocations: 4 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2524, allocations: 0 / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2525, allocations: 181.5 kB / 1.056 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2525, allocations: 3.984 kB / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.2526, allocations: 11.98 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2526, allocations: 0 / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2527, allocations: 0 / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2527, allocations: 4 kB / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2527, allocations: 0 / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.2529, allocations: 183.4 kB / 1.056 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.253, allocations: 84.95 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.253, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2531, allocations: 11.98 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.2532, allocations: 7.984 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.2532, allocations: 4 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.742e-05/0.2532, allocations: 91.2 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2532, allocations: 0 / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002103/0.2535, allocations: 8 kB / 1.057 GB, free: 3.305 MB / 0.8106 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 (reaToInt1.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005074/0.254, allocations: 0.7163 MB / 1.057 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.2542, allocations: 59.89 kB / 1.057 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2542, allocations: 0 / 1.057 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.2543, allocations: 31.97 kB / 1.057 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.2546, allocations: 11.92 kB / 1.057 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.2559, allocations: 1.319 MB / 1.059 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.2562, allocations: 0.6848 MB / 1.059 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.2562, allocations: 4 kB / 1.059 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.2563, allocations: 15.42 kB / 1.059 GB, free: 340 kB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.2563, allocations: 4 kB / 1.059 GB, free: 336 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/0.2826, allocations: 1.573 MB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.2828, allocations: 218.4 kB / 1.061 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.069, allocations: 4.75 kB / 1.061 GB, free: 14.64 MB / 0.8262 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/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) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches