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.0008703/0.0008703, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005203/0.005203, allocations: 170.5 kB / 16.27 MB, free: 6.648 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.18/1.18, allocations: 223.3 MB / 240.3 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.482/2.482, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002745, allocations: 11.78 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2224, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.000678/0.2231, allocations: 399.1 kB / 1.059 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007252/0.2238, allocations: 0.8313 MB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.2239, allocations: 0 / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.2239, allocations: 3.938 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.4e-05/0.224, allocations: 4 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001071/0.2241, allocations: 27.91 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.2241, allocations: 39.91 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.2242, allocations: 12 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.2243, allocations: 15.92 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.2244, allocations: 27.84 kB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.2244, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.2244, allocations: 4 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.2244, allocations: 3.984 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.2244, allocations: 49.56 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.645e-05/0.2245, allocations: 47.8 kB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2245, allocations: 0 / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2245, allocations: 0 / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.2245, allocations: 0 / 1.06 GB, free: 3.391 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.0003818/0.2249, allocations: 348.7 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.225, allocations: 11.97 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.225, allocations: 38.75 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.074e-05/0.225, allocations: 4.938 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2251, allocations: 172.3 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2252, allocations: 384 / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.2252, allocations: 8.375 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.2254, allocations: 70.16 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2254, allocations: 3.938 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2254, allocations: 4 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2254, allocations: 4 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.2256, allocations: 55.95 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.226, allocations: 292.8 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.2262, allocations: 70.47 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.2263, allocations: 32.92 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.2263, allocations: 4 kB / 1.061 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.2263, allocations: 38.55 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2263, allocations: 0 / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003927/0.2267, allocations: 121.6 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.2267, allocations: 55.34 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.338e-05/0.2268, allocations: 109.8 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.2268, allocations: 25.7 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.2269, allocations: 88.14 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.2269, allocations: 3.906 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.2269, allocations: 17.72 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/0.227, allocations: 326.7 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.2271, allocations: 23.98 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.614e-05/0.2272, allocations: 31.97 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.2274, allocations: 64.81 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2274, allocations: 4 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002372/0.2277, allocations: 101.5 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.2277, allocations: 4 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.2277, allocations: 336 / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.2277, allocations: 0 / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.2278, allocations: 16.23 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.2278, allocations: 0 / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.072e-05/0.2279, allocations: 19.98 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.2279, allocations: 0 / 1.062 GB, free: 1.027 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 6.148e-05/0.228, allocations: 121.7 kB / 1.062 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.228, allocations: 3.984 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.228, allocations: 7.906 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2281, allocations: 4 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2281, allocations: 0 / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2281, allocations: 0 / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.2282, allocations: 181.4 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2282, allocations: 0 / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.2283, allocations: 19.98 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2283, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.2283, allocations: 4 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2283, allocations: 0 / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2283, allocations: 0 / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.2286, allocations: 199.4 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.2287, allocations: 85.09 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.2287, allocations: 0 / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.254e-05/0.2288, allocations: 4 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.2288, allocations: 11.98 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2288, allocations: 7.984 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.084e-05/0.2289, allocations: 79.28 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2289, allocations: 4 kB / 1.063 GB, free: 216 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002046/0.2291, allocations: 15.91 kB / 1.063 GB, free: 200 kB / 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.0004835/0.2296, allocations: 0.7241 MB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.2298, allocations: 67.88 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2298, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2299, allocations: 43.97 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.2302, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.2315, allocations: 1.351 MB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.2316, allocations: 0.6809 MB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.961e-05/0.2317, allocations: 11.98 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.2317, allocations: 15.44 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2317, allocations: 0 / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.759/2.991, allocations: 1.514 MB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/2.991, allocations: 220 kB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.28/7.271, allocations: 0 / 1.068 GB, free: 11.58 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