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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.009074/0.009074, allocations: 101.9 kB / 15.74 MB, free: 6.031 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.002525/0.002525, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.51/2.51, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 67.89 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2701, allocations: 162.3 MB / 1.242 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001612/0.2717, allocations: 0.6697 MB / 1.242 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008276/0.2725, allocations: 0.8273 MB / 1.243 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.2726, allocations: 0 / 1.243 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.2726, allocations: 3.938 kB / 1.243 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.2727, allocations: 3.938 kB / 1.243 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.2728, allocations: 19.98 kB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.998e-05/0.2729, allocations: 51.84 kB / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.273, allocations: 15.97 kB / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.273, allocations: 19.98 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.2731, allocations: 27.86 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.2731, allocations: 4 kB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.2732, allocations: 7.938 kB / 1.243 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.2732, allocations: 7.984 kB / 1.243 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.2732, allocations: 19.92 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.503e-05/0.2733, allocations: 43.8 kB / 1.244 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2733, allocations: 0 / 1.244 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2733, allocations: 0 / 1.244 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.2733, allocations: 4 kB / 1.244 GB, free: 8.129 MB / 0.9981 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.000454/0.2738, allocations: 363.3 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.2738, allocations: 8.031 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.2739, allocations: 34.75 kB / 1.244 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.2739, allocations: 4.938 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.274, allocations: 168.3 kB / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.274, allocations: 8.359 kB / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.2741, allocations: 4.375 kB / 1.244 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.2742, allocations: 66.16 kB / 1.244 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2743, allocations: 11.92 kB / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.2743, allocations: 0 / 1.244 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2743, allocations: 4 kB / 1.244 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.2745, allocations: 43.95 kB / 1.244 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.2748, allocations: 280.8 kB / 1.244 GB, free: 7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.275, allocations: 74.47 kB / 1.245 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.2752, allocations: 24.92 kB / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.2752, allocations: 3.938 kB / 1.245 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2752, allocations: 34.56 kB / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2752, allocations: 4 kB / 1.245 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003818/0.2756, allocations: 113.5 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.2756, allocations: 59.34 kB / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.2757, allocations: 101.9 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2757, allocations: 33.69 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.2758, allocations: 84.08 kB / 1.245 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.2758, allocations: 15.84 kB / 1.245 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.2759, allocations: 17.7 kB / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.276, allocations: 322.8 kB / 1.245 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.684e-05/0.2761, allocations: 27.97 kB / 1.245 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.622e-05/0.2762, allocations: 19.98 kB / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.2764, allocations: 48.81 kB / 1.245 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2764, allocations: 4 kB / 1.245 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002279/0.2766, allocations: 89.58 kB / 1.245 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2766, allocations: 8 kB / 1.246 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.2766, allocations: 0 / 1.246 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.2766, allocations: 0 / 1.246 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2768, allocations: 11.98 kB / 1.246 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.2768, allocations: 0 / 1.246 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.2768, allocations: 7.984 kB / 1.246 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.2768, allocations: 4 kB / 1.246 GB, free: 5.828 MB / 0.9981 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.694e-05/0.2769, allocations: 113.8 kB / 1.246 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.277, allocations: 11.95 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.277, allocations: 7.906 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.277, allocations: 0 / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.277, allocations: 0 / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.277, allocations: 3.984 kB / 1.246 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.2772, allocations: 177.9 kB / 1.246 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2772, allocations: 0 / 1.246 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.683e-05/0.2773, allocations: 15.98 kB / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2773, allocations: 0 / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2773, allocations: 0 / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2773, allocations: 7.984 kB / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2773, allocations: 7.984 kB / 1.246 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.2776, allocations: 183.4 kB / 1.246 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.2776, allocations: 81.06 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.2777, allocations: 0 / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.2778, allocations: 4 kB / 1.246 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.2778, allocations: 15.98 kB / 1.246 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2778, allocations: 3.984 kB / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.37e-05/0.2779, allocations: 95.16 kB / 1.246 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2779, allocations: 0 / 1.246 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002023/0.2781, allocations: 4 kB / 1.246 GB, free: 5.012 MB / 0.9981 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.000544/0.2786, allocations: 0.7211 MB / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.2789, allocations: 59.97 kB / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.2789, allocations: 0 / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.279, allocations: 27.97 kB / 1.247 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.2792, allocations: 10.06 kB / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.2806, allocations: 1.322 MB / 1.248 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2809, allocations: 0.6807 MB / 1.249 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.281, allocations: 8.25 kB / 1.249 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.281, allocations: 23.42 kB / 1.249 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.281, allocations: 0 / 1.249 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2633/0.5443, allocations: 1.818 MB / 1.251 GB, free: 368 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/7.927, allocations: 4.625 kB / 1.251 GB, free: 364 kB / 0.9981 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=400 --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