Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.RealToInteger,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",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.01058/0.01058, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001892/0.001892, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.393/2.393, allocations: 222.9 MB / 240.4 MB, free: 4.18 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 2.514/2.514, allocations: 390.3 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 58.34 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2959, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001933/0.2979, allocations: 0.6188 MB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009308/0.2989, allocations: 0.8238 MB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.2989, allocations: 0 / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.299, allocations: 0 / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.299, allocations: 7.938 kB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.2992, allocations: 11.98 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.2993, allocations: 23.92 kB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2994, allocations: 11.98 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.565e-05/0.2995, allocations: 11.92 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/0.2995, allocations: 11.98 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.2996, allocations: 4 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-06/0.2996, allocations: 0 / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.2996, allocations: 11.94 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.2996, allocations: 4 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.742e-05/0.2997, allocations: 43.81 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2997, allocations: 0 / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2997, allocations: 0 / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.2997, allocations: 0 / 1.089 GB, free: 452 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004683/0.3002, allocations: 330.4 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3003, allocations: 8.031 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.3003, allocations: 34.75 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.3003, allocations: 4.844 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3005, allocations: 164.4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.3005, allocations: 8.375 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.3005, allocations: 4.375 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3007, allocations: 50.23 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3007, allocations: 7.875 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3007, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3008, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.3009, allocations: 39.89 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.3013, allocations: 249 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.3015, allocations: 42.5 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.799e-05/0.3016, allocations: 24.89 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3016, allocations: 4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3017, allocations: 42.5 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.3017, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003904/0.3021, allocations: 85.58 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.3021, allocations: 55.41 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.3022, allocations: 105.8 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3023, allocations: 25.7 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.3023, allocations: 88.27 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.3023, allocations: 0.5625 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.3024, allocations: 13.72 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3025, allocations: 318.8 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.3026, allocations: 11.98 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.3027, allocations: 19.98 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3029, allocations: 48.81 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3029, allocations: 3.938 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001985/0.3031, allocations: 69.56 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3031, allocations: 4 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3031, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3031, allocations: 4.188 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3032, allocations: 16.02 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3032, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.3033, allocations: 4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3033, allocations: 7.969 kB / 1.091 GB, free: 14.35 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.253e-05/0.3034, allocations: 113.8 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.3034, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.3035, allocations: 7.125 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3035, allocations: 4 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3035, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3035, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3037, allocations: 165.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3037, allocations: 3.938 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.3037, allocations: 11.98 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3037, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.3038, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3038, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3038, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002506/0.304, allocations: 167.5 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.3041, allocations: 85.05 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.3041, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.3042, allocations: 7.984 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.3042, allocations: 7.984 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.3043, allocations: 4 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.3043, allocations: 75.28 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3043, allocations: 7.969 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002113/0.3045, allocations: 4 kB / 1.091 GB, free: 13.6 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005589/0.3051, allocations: 0.7045 MB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.3053, allocations: 44 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3053, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-05/0.3054, allocations: 27.91 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.3058, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.3062, allocations: 139.4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.3065, allocations: 0.6846 MB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.895e-05/0.3065, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.3066, allocations: 19.42 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3066, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.992/3.298, allocations: 1.45 MB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/18.89, allocations: 10 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches