Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001443/0.001443, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.588/2.588, allocations: 469.8 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 60.28 kB / 0.9087 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3041, allocations: 159.1 MB / 1.064 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00182/0.3059, allocations: 0.6859 MB / 1.065 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.3069, allocations: 0.8234 MB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.3069, allocations: 0 / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.3069, allocations: 0 / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.307, allocations: 0 / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.3071, allocations: 23.92 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.07e-05/0.3072, allocations: 23.98 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.3073, allocations: 4 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.168e-05/0.3073, allocations: 19.91 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.3074, allocations: 8 kB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.3074, allocations: 7.875 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-06/0.3074, allocations: 4 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.3074, allocations: 7.984 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.3075, allocations: 11.94 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.022e-05/0.3075, allocations: 11.97 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3075, allocations: 4 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3075, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.3076, allocations: 0 / 1.066 GB, free: 13.52 MB / 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.0004587/0.308, allocations: 335.8 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3081, allocations: 8.625 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.3081, allocations: 8.844 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3082, allocations: 168.3 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3082, allocations: 384 / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3083, allocations: 12.36 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3084, allocations: 54.23 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3084, allocations: 192 / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3085, allocations: 3.938 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.3085, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.3086, allocations: 39.89 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.309, allocations: 249 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.3091, allocations: 46.48 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/0.3092, allocations: 20.91 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.3093, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3093, allocations: 34.56 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3093, allocations: 4 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000349/0.3097, allocations: 85.58 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.3097, allocations: 55.41 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.3098, allocations: 97.84 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3098, allocations: 25.7 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.3099, allocations: 92.05 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.3099, allocations: 128 / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.3099, allocations: 21.7 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3101, allocations: 318.8 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/0.3101, allocations: 11.98 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.3102, allocations: 23.97 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.3104, allocations: 44.83 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3104, allocations: 4 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.3106, allocations: 77.44 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.3106, allocations: 4 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3106, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.3107, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.3108, allocations: 15.98 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.3108, allocations: 0 / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.3108, allocations: 12.02 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.3108, allocations: 0 / 1.068 GB, free: 11.45 MB / 0.8419 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.329e-05/0.3109, allocations: 113.8 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.3109, allocations: 0 / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.865e-05/0.311, allocations: 7.125 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.311, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.311, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.311, allocations: 7.984 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.3112, allocations: 157.6 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3112, allocations: 4 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.3112, allocations: 11.92 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3113, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3113, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3113, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3113, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.3115, allocations: 167.5 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.3116, allocations: 81.09 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3116, allocations: 4 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.3117, allocations: 4 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.3117, allocations: 7.984 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3117, allocations: 192 / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.3118, allocations: 83.27 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3118, allocations: 0 / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002042/0.312, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8419 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.0001098/0.3121, allocations: 109.5 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.3123, allocations: 39.97 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3123, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.867e-05/0.3124, allocations: 19.97 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.3127, allocations: 16.06 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.313, allocations: 139.1 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3133, allocations: 0.6806 MB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.3134, allocations: 11.44 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3134, allocations: 0 / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of Templates: time 0.001861/0.3152, allocations: 0.6056 MB / 1.07 GB, free: 9.039 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches