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.002449/0.002449, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.003054/0.003054, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.895/2.895, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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 2.365e-06/2.365e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.918e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001895/0.001924, allocations: 0.6281 MB / 0.787 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.003165, allocations: 0.8516 MB / 0.7878 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.003196, allocations: 0 / 0.7878 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.00322, allocations: 5.156 kB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.003286, allocations: 3.938 kB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.003444, allocations: 19.86 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.003e-05/0.003524, allocations: 28.48 kB / 0.7879 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.003612, allocations: 4.812 kB / 0.7879 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.48e-05/0.003697, allocations: 15.98 kB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.003748, allocations: 17.06 kB / 0.7879 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.003766, allocations: 0 / 0.7879 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.003777, allocations: 4 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.003792, allocations: 1.031 kB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.00382, allocations: 11.94 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.081e-05/0.003911, allocations: 23.95 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003913, allocations: 0.5625 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003913, allocations: 0 / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003917, allocations: 0.6875 kB / 0.7879 GB, free: 11.24 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.0005268/0.004444, allocations: 353.3 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.004486, allocations: 8.031 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.00453, allocations: 9.547 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.004659, allocations: 120.5 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.004681, allocations: 2.031 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.004691, allocations: 384 / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.00485, allocations: 46.25 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.004858, allocations: 192 / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.004866, allocations: 1.719 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.004871, allocations: 384 / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.005005, allocations: 31.91 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.005403, allocations: 253.4 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.005537, allocations: 51.03 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.833e-05/0.005605, allocations: 19.73 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.005622, allocations: 3.531 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.00566, allocations: 45.33 kB / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.00566, allocations: 0 / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003033/0.005964, allocations: 69.56 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.006009, allocations: 59.34 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.006132, allocations: 161.9 kB / 0.7891 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.006155, allocations: 29.7 kB / 0.7891 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.006237, allocations: 134.8 kB / 0.7893 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.00625, allocations: 0.7188 kB / 0.7893 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.006307, allocations: 24.06 kB / 0.7893 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000365/0.006672, allocations: 496.1 kB / 0.7898 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/0.006732, allocations: 12.66 kB / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-05/0.006787, allocations: 13.02 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.006896, allocations: 32.2 kB / 0.7898 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.006898, allocations: 0 / 0.7898 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001729/0.007071, allocations: 66.92 kB / 0.7899 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.007094, allocations: 7.984 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.0071, allocations: 5.094 kB / 0.7899 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.007113, allocations: 0 / 0.7899 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.007196, allocations: 4 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.007207, allocations: 4.531 kB / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.007243, allocations: 0.8438 kB / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.007252, allocations: 3.984 kB / 0.7899 GB, free: 9.02 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.0001091/0.007361, allocations: 157.5 kB / 0.7901 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.007385, allocations: 192 / 0.7901 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.007416, allocations: 20.27 kB / 0.7901 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.007417, allocations: 0 / 0.7901 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.00742, allocations: 0 / 0.7901 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.007422, allocations: 2.219 kB / 0.7901 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.007577, allocations: 116.6 kB / 0.7902 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007578, allocations: 0 / 0.7902 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.007635, allocations: 8 kB / 0.7902 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.007637, allocations: 0 / 0.7902 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.007643, allocations: 0 / 0.7902 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.00765, allocations: 10.89 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.00765, allocations: 0 / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.007908, allocations: 203.9 kB / 0.7904 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.007919, allocations: 11.89 kB / 0.7904 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.007933, allocations: 3.984 kB / 0.7904 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.008, allocations: 7.938 kB / 0.7904 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.00805, allocations: 5.391 kB / 0.7904 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.008063, allocations: 8 kB / 0.7904 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.948e-05/0.008142, allocations: 127.2 kB / 0.7906 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008142, allocations: 0 / 0.7906 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000204/0.008346, allocations: 4.625 kB / 0.7906 GB, free: 8.289 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.0001138/0.00846, allocations: 91.78 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.008641, allocations: 41.03 kB / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008643, allocations: 3.938 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.784e-05/0.00872, allocations: 28.8 kB / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.008962, allocations: 4.938 kB / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.009299, allocations: 118.3 kB / 0.7908 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.43e-05/0.009363, allocations: 61 kB / 0.7909 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.15e-05/0.009394, allocations: 4 kB / 0.7909 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.773e-05/0.009432, allocations: 13.09 kB / 0.7909 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.009433, allocations: 0.8125 kB / 0.7909 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of Templates: time 0.003448/0.01288, allocations: 0.6531 MB / 0.7916 GB, free: 7.242 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] 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.96262059698347]