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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007601/0.007601, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001862/0.001862, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.553/2.553, allocations: 469.4 MB / 0.7421 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 1.064 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.6995, allocations: 159.1 MB / 1.22 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001738/0.7013, allocations: 0.6553 MB / 1.22 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009344/0.7022, allocations: 0.839 MB / 1.221 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.7023, allocations: 0 / 1.221 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.7023, allocations: 0 / 1.221 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.986e-05/0.7024, allocations: 7.938 kB / 1.221 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.7025, allocations: 19.92 kB / 1.221 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.339e-05/0.7026, allocations: 47.84 kB / 1.221 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.7027, allocations: 19.97 kB / 1.221 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.074e-05/0.7028, allocations: 12 kB / 1.221 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.7029, allocations: 31.84 kB / 1.221 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.7029, allocations: 4 kB / 1.221 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.7029, allocations: 4 kB / 1.221 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.7029, allocations: 11.98 kB / 1.221 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.703, allocations: 27.86 kB / 1.221 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.7031, allocations: 43.8 kB / 1.221 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7031, allocations: 0 / 1.221 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7031, allocations: 0 / 1.221 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7031, allocations: 0 / 1.221 GB, free: 0.5664 MB / 0.9356 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.0004629/0.7036, allocations: 363 kB / 1.222 GB, free: 168 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.7036, allocations: 12.62 kB / 1.222 GB, free: 156 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.7037, allocations: 30.75 kB / 1.222 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.7037, allocations: 0.9375 kB / 1.222 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.7038, allocations: 172.3 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.7039, allocations: 8.375 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.7039, allocations: 384 / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.7041, allocations: 70.2 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.7041, allocations: 3.938 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.7041, allocations: 11.98 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.7041, allocations: 0 / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.7044, allocations: 47.95 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.7047, allocations: 284.8 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.705, allocations: 70.56 kB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.7051, allocations: 24.88 kB / 1.222 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.7051, allocations: 4 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.7051, allocations: 34.56 kB / 1.222 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.7051, allocations: 0 / 1.222 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004357/0.7056, allocations: 117.5 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.7056, allocations: 51.41 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.7057, allocations: 101.9 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.7057, allocations: 29.7 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.7058, allocations: 88.06 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.7058, allocations: 19.84 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.7058, allocations: 17.7 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.7059, allocations: 318.8 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.706, allocations: 23.98 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.408e-05/0.7061, allocations: 23.97 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.7063, allocations: 56.75 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7064, allocations: 0 / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002526/0.7066, allocations: 89.59 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.7066, allocations: 9.406 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.7067, allocations: 0 / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.7067, allocations: 0 / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.7068, allocations: 15.98 kB / 1.223 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.7068, allocations: 0 / 1.223 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.7069, allocations: 7.984 kB / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.7069, allocations: 3.938 kB / 1.223 GB, free: 14.27 MB / 0.9512 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.327e-05/0.707, allocations: 118.3 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.707, allocations: 4 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.7071, allocations: 7.906 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7071, allocations: 0 / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7071, allocations: 4 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7071, allocations: 3.938 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.7073, allocations: 177.6 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.7073, allocations: 0 / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.424e-05/0.7074, allocations: 11.98 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.7074, allocations: 4 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.7074, allocations: 0 / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7074, allocations: 4.25 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.7074, allocations: 3.984 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.7077, allocations: 179.4 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.7077, allocations: 85.47 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.7078, allocations: 4 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.7079, allocations: 4 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.7079, allocations: 11.98 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.708, allocations: 15.91 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.708, allocations: 83.28 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.708, allocations: 3.938 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002283/0.7082, allocations: 8 kB / 1.224 GB, free: 13.44 MB / 0.9512 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.0005484/0.7088, allocations: 0.7202 MB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.7091, allocations: 51.94 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7091, allocations: 3.938 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.7092, allocations: 35.97 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.7095, allocations: 4 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.711, allocations: 1.315 MB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.7113, allocations: 0.6807 MB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.821e-05/0.7113, allocations: 11.91 kB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.7114, allocations: 15.42 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.7114, allocations: 0 / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.7282, allocations: 1.827 MB / 1.229 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/8.189, allocations: 14.44 kB / 1.229 GB, free: 8.773 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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