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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.587/1.587, allocations: 177.2 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.703/2.703, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.035e-06/3.035e-06, allocations: 0.875 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.667e-05/3.97e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002125/0.002164, allocations: 0.6286 MB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.003607, allocations: 0.8509 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.003651, allocations: 1.219 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.003685, allocations: 0 / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.42e-05/0.003779, allocations: 3.938 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.003952, allocations: 12.89 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.889e-05/0.004041, allocations: 27.92 kB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.004141, allocations: 4.844 kB / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.004243, allocations: 23.91 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.004299, allocations: 4.562 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.004322, allocations: 4 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.004331, allocations: 1.156 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.004353, allocations: 7.984 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.004389, allocations: 8 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.004499, allocations: 36.31 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004502, allocations: 0.75 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004503, allocations: 4 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.004508, allocations: 0.9062 kB / 0.7879 GB, free: 11.21 MB / 0.7448 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.0005569/0.005064, allocations: 254.4 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.00511, allocations: 8.688 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.005168, allocations: 13.48 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.005311, allocations: 105.8 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.005335, allocations: 2.031 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.005345, allocations: 384 / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.005559, allocations: 54.22 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.005568, allocations: 192 / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.00558, allocations: 1.906 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.00559, allocations: 4.375 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.005808, allocations: 41.42 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.006213, allocations: 196.6 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.006377, allocations: 38.59 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.006487, allocations: 28.34 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.006508, allocations: 0 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.006551, allocations: 30.56 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.006552, allocations: 0 / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0004573/0.007009, allocations: 97.5 kB / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.007064, allocations: 52.03 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.007189, allocations: 102.4 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.007213, allocations: 25.7 kB / 0.7889 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.007286, allocations: 88.86 kB / 0.789 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.00731, allocations: 3.984 kB / 0.789 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.007352, allocations: 14.94 kB / 0.789 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.007551, allocations: 318.8 kB / 0.7894 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.826e-05/0.007649, allocations: 12.61 kB / 0.7894 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.292e-05/0.007742, allocations: 25.09 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.007931, allocations: 41.61 kB / 0.7894 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007933, allocations: 0.625 kB / 0.7894 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002416/0.008175, allocations: 74.8 kB / 0.7895 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.008194, allocations: 4 kB / 0.7895 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.008203, allocations: 4.688 kB / 0.7895 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.008229, allocations: 4 kB / 0.7895 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.008352, allocations: 9.172 kB / 0.7895 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.008359, allocations: 0 / 0.7895 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.008424, allocations: 14.14 kB / 0.7895 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.00843, allocations: 0 / 0.7895 GB, free: 9.414 MB / 0.7448 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 0.0001249/0.008555, allocations: 109.8 kB / 0.7896 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.008584, allocations: 0 / 0.7896 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.00862, allocations: 19.23 kB / 0.7897 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008622, allocations: 0 / 0.7897 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.008627, allocations: 6.719 kB / 0.7897 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.008629, allocations: 0 / 0.7897 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.008793, allocations: 97.33 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008794, allocations: 0 / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.994e-05/0.008874, allocations: 15.98 kB / 0.7898 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.008877, allocations: 0 / 0.7898 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.008889, allocations: 4 kB / 0.7898 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.008892, allocations: 5.406 kB / 0.7898 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.008898, allocations: 3.984 kB / 0.7898 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.009208, allocations: 164 kB / 0.7899 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.009218, allocations: 4.516 kB / 0.7899 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.00924, allocations: 5.375 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.009328, allocations: 11.92 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.009401, allocations: 4 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.009405, allocations: 0.625 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.429e-05/0.009469, allocations: 87.27 kB / 0.79 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009469, allocations: 5.906 kB / 0.7901 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002266/0.009696, allocations: 4 kB / 0.7901 GB, free: 8.828 MB / 0.7448 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.0001539/0.009849, allocations: 95.25 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.01011, allocations: 45.58 kB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01011, allocations: 0 / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.01021, allocations: 20.95 kB / 0.7902 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.01059, allocations: 9.531 kB / 0.7902 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.011, allocations: 113.5 kB / 0.7903 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.22e-05/0.01108, allocations: 60.33 kB / 0.7904 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.114e-05/0.01112, allocations: 11.95 kB / 0.7904 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.01117, allocations: 8.5 kB / 0.7904 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01117, allocations: 4 kB / 0.7904 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of Templates: time 0.003807/0.01498, allocations: 0.6568 MB / 0.7911 GB, free: 7.789 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.794056987040676]