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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006273/0.006272, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.00109/0.00109, allocations: 199.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.456/2.456, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.386/3.386, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 66.8 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3943, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00215/0.3965, allocations: 0.646 MB / 1.088 GB, free: 1.363 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3977, allocations: 0.8394 MB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.3978, allocations: 0 / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.3978, allocations: 3.938 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.729e-05/0.3979, allocations: 3.938 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.3981, allocations: 15.98 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.3982, allocations: 51.83 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3983, allocations: 15.98 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.3984, allocations: 16 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.3985, allocations: 31.78 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.3986, allocations: 4 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.3986, allocations: 4 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.3986, allocations: 11.97 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.3987, allocations: 19.88 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.3988, allocations: 47.84 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3988, allocations: 0 / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3988, allocations: 0 / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3988, allocations: 0 / 1.089 GB, free: 296 kB / 0.8419 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.0007209/0.3995, allocations: 354.3 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.3996, allocations: 12.02 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.3996, allocations: 34.75 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.3997, allocations: 4.938 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.4, allocations: 177.1 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4, allocations: 4.359 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.4, allocations: 4.375 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.4002, allocations: 70.16 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.4003, allocations: 3.938 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4003, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.4003, allocations: 7.984 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.4005, allocations: 47.95 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.401, allocations: 276.8 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.4012, allocations: 70.52 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.4013, allocations: 32.88 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.4014, allocations: 0 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.4014, allocations: 34.5 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.4014, allocations: 4 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004486/0.4019, allocations: 113.5 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.4019, allocations: 55.41 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.031e-05/0.402, allocations: 101.9 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.402, allocations: 33.64 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.4021, allocations: 88.19 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.4021, allocations: 11.81 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.4022, allocations: 17.72 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.4024, allocations: 326.8 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4025, allocations: 19.98 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.4026, allocations: 23.97 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.4028, allocations: 52.81 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4028, allocations: 4 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003121/0.4031, allocations: 85.58 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4032, allocations: 8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4032, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4032, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4033, allocations: 11.98 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4033, allocations: 0 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.4034, allocations: 7.984 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4034, allocations: 8 kB / 1.091 GB, free: 13.99 MB / 0.8575 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 0.0001057/0.4035, allocations: 117.7 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.4036, allocations: 7.906 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.4036, allocations: 8.234 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4036, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4036, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4036, allocations: 3.984 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.4038, allocations: 177.8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.4038, allocations: 4 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.4039, allocations: 11.98 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.404, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.404, allocations: 4 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.404, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.404, allocations: 4 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.4044, allocations: 183.4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.4045, allocations: 85 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.4045, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4046, allocations: 11.94 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.4047, allocations: 11.98 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.4047, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.719e-05/0.4047, allocations: 87.27 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4047, allocations: 3.938 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002314/0.405, allocations: 8 kB / 1.092 GB, free: 13.18 MB / 0.8575 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.0006246/0.4056, allocations: 0.7163 MB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.4059, allocations: 55.94 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4059, allocations: 4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.406, allocations: 31.91 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.4064, allocations: 8 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4081, allocations: 1.317 MB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.4084, allocations: 0.6807 MB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.195e-05/0.4085, allocations: 8 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.4086, allocations: 19.42 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.4086, allocations: 0 / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.382/3.791, allocations: 1.811 MB / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/19.13, allocations: 15.53 kB / 1.096 GB, free: 8.5 MB / 0.8575 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches